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
What is object data type?
What are the different types of inner classes?
Is final static java?
how to create constants in java?
Is singleton class thread safe?
If goto and const is reserve words than why it is not work in java?
How does list work in java?
What is java english?
What is an example of procedure?
What is percentage in java?
What is constructor in java ?
What is the difference between java applets and applications?
What are different types of references?
String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?
What are the two environment variables that must be set in order to run any java programs?