Java does not support multiple inheritance but Object class is by default super class of all classes. e.g
class Object
{
}
class B
{
}
class A extends B
{
}
Class A can access all method of B and Object.Is not it a example of multiple inheritance? So is it correct that Java does not support multiple inheritance.
my question is not to find difference between multilevel and multiple inheritance. Java Docs,it self says :Class Object is the root of the class hierarchy. Every class has Object as a super class. All objects, including arrays, implement the methods of this class. So it means Class Object is super class of Class A{Previous example}. But Class B is also Super Class of Class A. SO what is meaning of it ?