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 number data type?

1075


What is immutability in java?

1135


What purpose do the keywords final, finally, and finalize fulfill?

1148


what is the use of bean managed and container managed with example?

2013


What is the purpose of sizeof operator?

1117


What is set and get methods in java?

1042


What is array length?

1018


What are the basic interfaces of java collections framework?

1178


Is singleton class immutable?

1016


Explain methods specific to list interface?

1036


Can we assign the reference to this variable?

1030


Why pointers are not used in java?

1179


How do you add an element to a set in java?

1079


How to change value in arraylist java?

1244


What class allows you to read objects directly from a stream?

1380