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 object data type?

999


What are the different types of inner classes?

1038


Is final static java?

1014


how to create constants in java?

1084


Is singleton class thread safe?

997


If goto and const is reserve words than why it is not work in java?

1974


How does list work in java?

917


What is java english?

1004


What is an example of procedure?

1038


What is percentage in java?

1006


What is constructor in java ?

1195


What is the difference between java applets and applications?

1162


What are different types of references?

978


String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?

977


What are the two environment variables that must be set in order to run any java programs?

967