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
Are private methods final?
What is arraylist class in java?
What is treeset in java?
What are the types of web technologies?
What is a protected void?
Explain about varargs in java?
which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com
What is not object oriented programming?
Can a top level class be private or protected?
String class is defined under which package in java?
Explain thread in java?
What are some alternatives to inheritance?
What is the major difference between linkedlist and arraylist?
What are the different data types in java?
When does an object becomes eligible for garbage collection in java?