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 null mean in java?

1037


Is int a class in java?

951


What is jrmp?

910


What do you mean by default constructor in java?

1020


What is arrays sort in java?

916


Can subclass overriding method declare an exception if parent class method doesn't throw an exception?

1007


Where is core java used?

971


Does printwriter create a file?

918


Can we restart a dead thread in java?

942


how we can create packages in java?

920


How do you do a line break in java?

939


Is there a jre for java 11?

1014


Explain about instanceof operator in java?

1001


Java is pass by value or pass by reference? Explain

940


Can set contain duplicates?

960