The fact about Java is that it does not support the multiple inheritance.
But I have a question that the base class of all java classes is Object.
Now we have tw
A, and B inherits Object so A inherits Object when inherits B.