Answer Posted / bhasker tiwari
All the answer given above are True .
but i would like to add few more.
Reasons are follows:
1.As java creates .class for each Java file.and As all java
files has there own variable and methods so incase of
Multiple inheritence all will mess up , so to avoid this
situation Java do not allow Multiple Inheritence.
2. the above discussed Diamond problem is also a Reason.
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What are different types of constants?
Explain creating threads by extending thread class ?
I want to re-reach and use an object once it has been garbage collected. How it's possible?
what is the major difference between linkedlist and arraylist in java?
What are passing parameters?
Is finalize() similar to a destructor?
What is difference between ++ I and I ++ in java?
Explain the difference between collection api and stream api in java8?
What data type is true or false?
What is the properties class?
how many types of Inheritance?
Are arrays static in java?
What does i ++ mean in Java?
Explain the difference between abstraction and encapsulation.
What is queue in java?