why is multiple inheritance not allowed in java?
Answer Posted / haridini
Suppose if u inherit from multiple classes and in these
classes a method of same name exists then the class which
inherits from these classes gets confused that which one to
inherit. And this is also because of reducing complexity.
And above all u will get the multiple inheritance concept
in java through interfaced.
| Is This Answer Correct ? | 18 Yes | 6 No |
Post New Answer View All Answers
Can a final variable be manipulated in java?
What’s the difference between applets and standalone program?
What is isa relationship?
Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain
What are use cases?
Is it possible to use string in the switch case?
Can we make main() thread as daemon?
Why vector class is used?
What are the differences between processes and threads?
What is called module?
What is lambda expression in java?
What is pre increment and post increment in java?
explain autoboxing in java?
How is the marker interface used in Java?
What do you understand by the term string pool?