why java does not support multiple inheritance
Answer Posted / piyush patel
java is extended from C++ language.
in c++ we found Multiple inheritance make complexity or
confusion to called method.
example: suppose class A extends class B and class C
class B have method area(int i);
class C have method area(int i);
now if Class A call area(int i) then whose method will be
considered
contact me if any query about java
mob:9904449370
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Explain features of interfaces in java?
Explain about exception propagation?
How variables are declared?
What is break and continue statement?
How can we make string upper case or lower case?
What an i/o filter?
What is map java?
Why synchronization is important?
Can we execute java program without main method?
why java does not support unsigned keyword?
What is the purpose of using javap?
What is the exact difference in between Unicast and Multicast object? Where will it be used?
How can you read content from file in java?
What does || mean in vectors?
What is downcasting?