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

Is integer a class?

1080


What is derived datatype?

1218


Name few java 8 annotations ?

1025


What is a war file?

1084


Why main method is static in java?

1177


What is a predicate method?

1017


Is it compulsory for a try block to be followed by a catch block in java for exception handling?

1013


What are use cases?

976


Is java hard to learn?

900


Write a java program to generate fibonacci series ?

1071


Can we assign the reference to this variable?

974


What is a boolean flag in java?

1030


Difference between Linked list and Queue?

1029


Can a static class have a constructor java?

984


Are global variables initialized to zero?

961