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
Write a java program to generate fibonacci series ?
What are the basic interfaces of java collections framework?
State the main difference between c++ and java?
What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?
What is string in java is it a data type?
What is the difference between the final method and abstract method?
How to perform bubble sort in java?
What about method local inner classes or local inner classes in java?
How do you access command-line arguments within the code?
What is substring 1 in java?
What are the differences between string, stringbuffer and stringbuilder?
How do you trim a space in java?
Can constructor be synchronized?
Can you make a constructor final in Java?
What is communist flag?