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
Why do we create public static method in java?
What is the difference between private & public & friendly classes?
If system.exit (0); is written at the end of the try block, will the finally block still execute?
Can we create object of static class?
what is comparable and comparator interface?
What is the differences between heap and stack memory in java? Explain
Can substring create new object?
Explain polymorphism citing an example.
Can constructor be protected in java?
Why do we use return statement?
Define iterator and methods in iterator?
Can I uninstall java?
What is difference between call by value and call by reference?
How does hashset work in java?
Can we access the non-final local variable, inside the local inner class?