Java is a very powerful Programming Language, but it does not support multiple inheritances like many of the other popular Languages do, like C++, etc. And that is because of the Diamond problem in Java. Since the compiler will not understand, which superclass method to execute within the problem, thus that will fumble Java, and thus it does not support multiple inheritances. If you wish to learn Java, get trained and certified, check out the Java training course from Intellipaat. Also, look at the following YouTube video on Java Full Course for beginners to get a better understanding.