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
What are the two environment variables that must be set in order to run any java programs?
What is charat ()?
In how many ways we can do synchronization in java?
If try block is successfully executed, Then Is Finally block executed?
How to instantiate member inner class?
Which data type is class in java?
What are the differences between c++ and java?
What happens if an exception is throws from an object's constructor?
What is meant by class and object in java?
What is the difference between quicksort & mergesort? When should they be used? What is their running time?
what invokes a threads run() method? : Java thread
In case of inheritance what is the execution order of constructor and destructor?
What is a private class in java?
Which variables are stored in stack?
What are annotations in java?