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 / sikinder

Whenever one Sub Class Extends more than one classes, at
the time of creating that class object, JVM gets confused
to call the parent class constructor as well as methods.

To avoid this ambuiguity, java doesn't support multiple
inheritance

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain thread in java?

1233


Is string an object?

1169


Why stringbuilder is not thread safe?

1082


How do you call a reference in java?

1039


What is the use of System class?

1216


what is meant by encapsulation?

1128


What is java literals?

1203


Which access specifier can be used with class ?

1045


how to write a program for sending mails between client and server

2117


Explain how hashmap works?

1120


What is ternary operator? Give an example.

1140


Why java is called not pure object oriented language?

1075


Why is java so important?

1158


What is the purpose class.forname method?

1010


What is ascii format?

1034