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
What is the meaning of course?
Which object oriented concept is achieved by using overloading and overriding?
Is empty string in java?
What's a method in programming?
How can an exception be thrown manually by a programmer?
What language is pass by reference?
What are loops in java? What are three types of loops?
What technique can be employed to compare two strings?
Can inner class final?
what is heap memory?
How does multithreading take place on a computer with a single cpu in java programming?
What are the characteristics of java?
What is object-oriented programming?
What is a pattern what is an anti pattern?
How many bytes is a string in java?