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
What is an empirical question?
What are the steps involved to create a bean?
Can we make main() thread as daemon?
Can two objects have same hashcode?
How do you create a sop?
What is javac_g?
What are the important features of Java 9 release?
Why is singleton not thread safe?
What is variable declaration and definition?
How does arrays sort work in java?
What is meant by overloading?
What does this () mean in constructor chaining concept?
What is field name?
What methodology can be utilized to link to a database?
difference between byte stream class and character stream class?