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
Answers were Sorted based on User's Feedback
Answer / srinivas
class A extends class B so that class A points the object
of object class through class B object. there fore it will
be called as maltilevel inheritence but not multipul
inheritence.
| Is This Answer Correct ? | 10 Yes | 2 No |
Answer / 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 |
Answer / skpttanayak
How come classs A be super class of class B dear...Class b
is not the subclass here...but superclass.
| Is This Answer Correct ? | 0 Yes | 0 No |
Define nashorn in java8.
What is the synonym of string?
What is the difference between heap memory and stack memory?
I have 100 records in a table with two rows. I need to display 10 records per page like Google Search. I need only the Logic(Pagination) in Pure Java. No JSP and all..Thanks in Advance...
When do we use synchronized methods in java?
what is difference between validation.xml & validation rules.xml?
How do you convert string to int in java?
Can an unreachable object become reachable again?
Interface A { String test(); } Interface B { int test(); } Create a class AB which must implements both A & B interfaces.
What is an argument java?
Is java call by value?
What is keyword auto for?