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 are the characteristics of java?

980


How do you remove spaces in java?

971


What is the purpose of the System class?

949


How to handle a web browser resize operation?

1002


How do you bind variables?

1022


Is int primitive data type?

884


Is java pass by value or pass by reference?

922


Is this valid in java ? Can we instantiate interface in java?

921


What is method reference?

915


How do generics work in java?

943


How we can skip finally block of exception even if some exception occurs in the exception block in java?

877


What is an image buffer?

920


I don’t want my class to be inherited by any other class. What should I do?

964


What about method local inner classes or local inner classes in java?

1004


What is split return?

925