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 write a class without main method in java?
Can a class have 2 constructors?
Is zero a natural number?
Explain listiterator and methods in listiterator?
What is the purpose of the main method?
What is the generic class?
What is the use of default method in interface in java? Explain
how does the run() method in runnable work? : Java thread
Can we call the constructor of a class more than once for an object?
What is thread safe in java?
What is default constructors?
Which browsers work with java?
Is space a character in java?
Why is a constant variable important?
how we can use debug in myeclipse 6.0 in order solve the problems that exist in our program when there are 900 to 1000 pages in a web application