how can be object class inherited to all class in a program
when java does not support multiple inheritance??
Answer Posted / kumar
Actuly in above it is the case of multilevel inheritance.and obj clas is super class which is extended by other classes tht is tree structure i.e 1 - * form . Multiple inheritance is wher 1 class is having 2 or more base class at same time ie *-1. So it is not multiple it is hiricle inheritnce.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can we change the scope of the overridden method in the subclass?
Does constructor return any value?
How do I compare two strings in word in java?
Explain importance of finally block in java?
What is an anonymous class in java?
What is string data type?
What is the name of the java compiler?
What is outofmemoryerror in java?
What is a memory leak in java?
What is jagged array in java?
What do you mean by collectors in java 8?
What is a java object and java application?
What is final modifier?
If you do not want your class to be inherited by any other class. What would you do?
What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?