How multipleInheritance is possible in java?
Answer Posted / gopi
Namrata what i am telling is,multiple inheritence is not
possible in java.that is every body knows but the thing is,
in c++ while the time of multiple inheritance ambiguity is
happened.like if u have same methods in all extended classes
while the time execution ambiguity will happen.but in the case
of interfaces in java even though u have same methods in all
interfaces there s no ambiguity at execution.for avoiding this
ambiguity in c++ we are using virtual keyword.
ofcourse ur correct.but internally interfaces are satisfied
the multiple interfaces concept.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
can java object be locked down for exclusive use by a given thread? : Java thread
What is mvc in java?
Are arrays static in java?
what is the messsage u r going to get from an objectoriented programing?
Why a dead thread occurs?
How to make a class or a bean serializable?
Can you extend main method in java?
Is space a character in java?
What is the importance of main method in Java?
What is the difference between preparedstatement and statement in java?
Why do we use bufferedreader?
What is the exact difference in between Unicast and Multicast object? Where will it be used?
What is a classloader in java?
What is the mapping mechanism used by java to identify IDL language?
What is dynamic array in java?