Class A extends Class B but Class A also inherit Super Class
Object so it is multiple inheritence give reason in support of
your answer
Answer Posted / sandhya reddy
For every class, Object class is the super class.
class A extends class B and at the same time class A is sub
class of object class and super class of class B. But class
B is only sub class of Class A. SO here MultiLevel
Inheritance is happening not multiple inheritance happen.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is a java predicate?
Explain what is encapsulation?
Explain about class in java?
What is the difference between jdk, jre, and jvm?
What is java string pool?
What is a local class in java?
What is the size of an array?
When is the arraystoreexception thrown?
What does the “static” keyword mean? Can you override private or static method in java?
Is singleton thread safe in java?
What does a za z0 9 mean?
Can we assign integer value to char in java?
Difference between Linked list and Queue?
What is the difference between a local variable and an instance variable?
Which is the class in java?