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 is not supporting multiple inheritence?

Answer Posted / mani.d [wipro]

Java doesn't support mutiple inheritance because
of 'Diamond problem'. The 'diamond problem' is an ambiguity
that can occur when a class multiple intehertis from two
classes that both descend from a common superclass.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by local class?

1050


Is there a case when finally will not execute?

1052


what are the methods in object?

1203


What package is math in java?

1051


Explain about member inner classes?

1152


What is a singleton factory?

1022


Is there any way to skip finally block of exception even if some exception occurs in the exception block?

1115


What are access specifiers available in java?

1056


Where is jre installed?

1088


What is boolean example?

1017


What is substring 1 in java?

1230


Can list be null in java?

1097


Does a function need a return?

1006


Why is it called a string?

1047


What happens when you invoke a thread’s interrupt method while it is sleeping or waiting?

1020