why java does not support multiple inheritance
Answer Posted / kishore
Java absolutly support multiple inheritence in terms of
Interface.We can extend one class only to avoid ambiguity
problem.In interface we have to define the functions.So we
don't get any ambiguity.In c++ it is big problem with
multiple inheritence but in JAVA this thing is improved by
introducing Interfaces
Is This Answer Correct ? | 304 Yes | 88 No |
Post New Answer View All Answers
What does localhost mean?
Can we convert integer to string in java?
What does next mean in java?
Which is better list or arraylist in java?
How objects of a class are created if no constructor is defined in the class?
What is unmodifiable list in java?
How transient variable is different from volatile variable?
Can you call one constructor from another if a class has multiple constructors?
Explain java coding standards for interfaces?
Can we override the overloaded method?
Can a string be null?
What is the access scope of a protected method?
Is void a keyword in java?
What is numeric function?
How many types of exception can occur in a java program?