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 is multiple inheritance not allowed in java?

Answer Posted / haridini

Suppose if u inherit from multiple classes and in these
classes a method of same name exists then the class which
inherits from these classes gets confused that which one to
inherit. And this is also because of reducing complexity.
And above all u will get the multiple inheritance concept
in java through interfaced.

Is This Answer Correct ?    18 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the wrapped, classes?

1015


What are the difference between composition and inheritance in java?

971


how to create daemon thread in java?

1016


Is ++ operator thread-safe in java?

1117


When do we use synchronized methods in java?

996


How to compare strings in java?

928


What is a void in java?

1079


What are the advantages of passing this into a method instead of the current class object itself?

1626


Why vector class is used?

936


What is the r character?

980


What is class variable java?

965


What is a method in programming?

1137


What is empty list in java?

1034


What is a Presistent Object?

1184


What is byte data type?

955