why java does not support multiple inheritance
Answer Posted / krishna.tadi
multiple inheritance:
def:
The process of deriving a subclass from morethen 2 classes
java doesnot support multiple inheritance through the use of the class
Because the same method()names in the more than one class this introduces the ambiguity problem
So to avoid this in java interfaces are introduced in interface we have only method declarations and we have to implement that method not override
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is this keyword used for?
How a variable is stored in memory?
Why we used vector class?
Is math class static in java?
What restrictions are placed on method overloading?
What is a native method in java programming?
What is βis-a β relationship in java?
What is a ?
Is c better than java?
What is the exception hierarchy in java?
What is meant by object oriented programming β oop?
What are the different types of sorting in java?
Explain yield() method in thread class ?
Explain java code for recursive solution's base case?
Why stringbuffer is faster than string?