why java does not support multiple inheritance
Answer Posted / velmurugan.p
basically java does not support multiple inheritance because
java extend only one class so we use interface in multiple
inheritance to define more than one class to avoid ambiguity.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Why for each loop is used?
What kind of variables can a class consist?
Does java map allow duplicates?
Can constructor be protected in java?
Explain what access modifiers can be used for variables?
Can we use synchronized block for primitives?
what is aggregation in java?
What is argument in java?
What are checked exceptions?
What classes of exceptions may be thrown by a throw statement?
What is the point of java?
How to use Media tracker Class.
What is the difference between array and array list in java?
Explain a few methods of overloading best practices in java?
Can I extend singleton class in java?