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 / mukul

java does not supports multiple inheritence at all.but it
supports similar feature interface.Which removes the
ambiguity problem(Deadly Diamonds Of Death) and complexity
of multiple inheritence.Although interface is not the part
of inheritence because inheirtence is achieved in java
through extends keyword only.Interface is the part of
aggregation not inheritence.

Is This Answer Correct ?    47 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are synchronized methods and synchronized statements in java programming?

1069


What is binary search in java?

1036


Is a method a function?

1097


What is a void in java?

1264


Can a serialized object be transferred via network?

1023


When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?

1147


How can we make copy of a java object?

1213


Is age discrete or continuous?

1192


What is an example of procedure?

1107


What happens to a static var that is defined within a method of a class?

1084


What is use of functional interface in java 8? Explain

1089


What is bool mean?

1141


What are register variables what are the advantages?

940


What is toarray method in java?

1167


What is console based application in java?

1085