why java does not support multiple inheritance
Answer Posted / krishna.tadi
multiple inheritance:
def:
The process of deriving a subclass from morethen 2 classes
java doesnot support multiple inheritance through the use of the class
Because the same method()names in the more than one class this introduces the ambiguity problem
So to avoid this in java interfaces are introduced in interface we have only method declarations and we have to implement that method not override
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is a condition in java?
What is the significance of listiterator?
What happens to the Exception object after handling an exception?
Can we sort hashset in java?
Explain access modifiers in java.
Is object a data type?
Why is java logo a cup of coffee?
What are the different types of inheritance in java?
What is a singleton factory?
When should I use a singleton?
What do you understand by a Static Variable?
What does null mean in java?
Can java list contain duplicates?
What is a literal coding?
How do you initialize an arraylist in java?