Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is an empirical question?

1022


What are the steps involved to create a bean?

1214


Can we make main() thread as daemon?

1153


Can two objects have same hashcode?

1051


How do you create a sop?

1046


What is javac_g?

1067


What are the important features of Java 9 release?

1051


Why is singleton not thread safe?

1104


What is variable declaration and definition?

1062


How does arrays sort work in java?

1055


What is meant by overloading?

1122


What does this () mean in constructor chaining concept?

1203


What is field name?

1076


What methodology can be utilized to link to a database?

1011


difference between byte stream class and character stream class?

4601