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 finalize method?
What does @override mean?
Can vector have duplicates in java?
How will you communicate between two applets?
What are the features in java?
What is the constructor?
What do you mean by an object in java?
What is an interface in java?
Can a class have multiple superclasses?
Can we inherit a class with private constructor?
Explain about assignment statement?
What is a list in java?
What is the size of int in 64-bit jvm?
Is ++ operator is thread safe in java?
How do you define a parameter?