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 / neeraj kumar singh

in multiple inheritance there are a number of base class so
when ever we use super keyword to call any method then
compiler do not recognize the base class form which property
and method have to use.since there is only one way to call
base class method and property which is super keyword. so
because of super keyword, java do not support multiple
inheritance but it is possible with help of interface.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the access scope of protected access specifier?

989


In java, how we can disallow serialization of variables?

989


I want to store more than 10 objects in a remote server? Which methodology will follow?

3192


What is stringjoiner ?

953


What is the difference between compare and compareto in java?

1018


Define class?

1037


What is Classloader in Java?

1210


Where are global variables stored?

945


Why pass by reference is not possible in java?

1030


What is an array length?

895


Which is easier netbeans or eclipse?

1058


What the difference is between execute, execute Query, execute Update?

828


Explain OOPs concept.

1077


Which java collection does not allow null?

1141


How can constructor chaining be done using this keyword?

1265