why java does not support multiple inheritance
Answer Posted / ouali international
Multiple inheritance in Java is not allowed directly simply
because Java has another concept of Interfaces that replace
the ambiguity of this problem in other OOP languages such
as C++.
| Is This Answer Correct ? | 9 Yes | 23 No |
Post New Answer View All Answers
What is difference between path and classpath?
What are autoboxing and unboxing? When does it occur?
What is the purpose of void?
Is java still necessary?
How many bits is a word?
How are variables stored?
Explain the difference between jdk, jre, and jvm?
Explain the different forms of polymorphism?
What are different types of constants?
When should a function throw an exception?
What is the difference between exception and error in java?
Is java platform independent?
Which class is used by server applications to obtain a port and listen for client requests?
Does java set allow duplicates?
What do you mean by singleton class in java?