why is multiple inheritance not allowed in java?
Answer Posted / sikinder
Whenever one Sub Class Extends more than one classes, at
the time of creating that class object, JVM gets confused
to call the parent class constructor as well as methods.
To avoid this ambuiguity, java doesn't support multiple
inheritance
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is default constructors?
What is mnemonic code?
What is method reference in java?
Is {a, n, d} a palindrome? If you are given a random string, is it a palindrome or not?
What is java reflection api?
Explain the difference between map and flatmap stream operation?
What is the integer of 16?
How can you make a class serializable in java?
When super keyword is used?
What does jre stand for?
What is a singleton class in Java?
how can you catch multiple exceptions in java?
What is early binding and late binding in java?
Define how objects are stored in java?
What is string pooling concept?