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

Explain features of interfaces in java?

932


Explain about exception propagation?

971


How variables are declared?

916


What is break and continue statement?

1024


How can we make string upper case or lower case?

1019


What an i/o filter?

943


What is map java?

915


Why synchronization is important?

975


Can we execute java program without main method?

1006


why java does not support unsigned keyword?

5115


What is the purpose of using javap?

1027


What is the exact difference in between Unicast and Multicast object? Where will it be used?

997


How can you read content from file in java?

961


What does || mean in vectors?

886


What is downcasting?

1016