why java does not support multiple inheritance
Answer Posted / reshma mittal
java does not support multiple inheritance because in java
we can develop web based application
suppose we r trying 2 download a file that has extended
many classes if 995 of classes get downloaded and even 1%
gives error in downloading then there is no use of
downloading
that's why java avoid such comlexities of interdependency
so it avoid multiple inheritance
| Is This Answer Correct ? | 2 Yes | 16 No |
Post New Answer View All Answers
Why is the main method static?
Can we convert integer to string in java?
Can a set contain duplicates?
Explain about serializable interface in java?
What is the final class?
How to overcome the exception object reference not set to an instance of object?
Discuss 2D arrays.
How do you add an element to a hashset in java?
What is the purpose of methodology?
How do I write a self declaration?
This abstract class is correct ? abstract class A { public abstract void Disp(); public abstract void B() { } public absract virtual C() { } }
In java how do we copy objects?
How do you replace a string in java?
What is extension method in java?
Is java util regex pattern thread safe?