why java does not support multiple inheritance
Answer Posted / piyush patel
java is extended from C++ language.
in c++ we found Multiple inheritance make complexity or
confusion to called method.
example: suppose class A extends class B and class C
class B have method area(int i);
class C have method area(int i);
now if Class A call area(int i) then whose method will be
considered
contact me if any query about java
mob:9904449370
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Give a brief description of java socket programming?
What is difference between == equals () and compareto () method?
Is upper case in java?
What are "class access modifiers" in Java?
Why we used vector class?
explain the concept of virtual method invocation in polymorphism in detail?
Does java support multiple inheritances?
What does this mean java?
How to calculate the length of a singly linked list in java?
What is the method overriding?
Write a program to solve producer consumer problem in java?
What is regex in java?
How many bytes are there?
What is string pool?
What is a constructor, constructor overloading in java?