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 the difference amongst jvm spec, jvm implementation, jvm runtime ?
What is nested top-level class?
What is the importance of hashcode() and equals() methods?
Which sorting is used in arrays sort in java?
Is call by reference possible in java?
Explain about public and private access specifiers?
How we can make copy of a java object?
Can we inherit a class with private constructor?
What is difference between word and integer?
why java uses class level type casting ?
State the difference between strings and arrays.
How many characters is 2 bytes?
What does || mean in vectors?
What are the different ways of creating thread?
What are methods in java?