why is multiple inheritance not allowed in java?
Answer Posted / ganesh
When the multiple inheritance is allowed, means when a language allows the class to extend multiple classes, That leads to the ambiguity as to which class method to consider, when two of its parents have the same method signature. This is called Diamond ring problem
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
Why map is used in java?
what r advatages of websphere? & how to deploy?
What is predicate in java?
Describe method overriding
Can we define constructor in inner class?
Is java same as core java?
why are wait(), notify() and notifyall() methods defined in the object class? : Java thread
What is factor r?
Realized?
How many digits is int32?
What is the difference between the prefix and postfix forms of the ++ operator?
How are observer and observable used in java programming?
What is the major advantage of external iteration over internal iteration?
Can you declare an interface method static?
What is the size of string?