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 is wrapper class html?

895


Write a program in java to create a doubly linked list containing n nodes.

913


Why does java not allow multiple public classes in a java file ?

4405


What are some characteristics of interference class?

955


What are different access specifiers in java? Explain

1065


When will you define a method as static in Java?

1002


Can size_t be negative?

1086


What are the application of stack?

871


What are the two types of streams offered by java 8?

882


What methodology can be employed to locate substrings inside a string?

913


What is hash in java?

913


What is pass by value?

902


Can you run java program without main method?

1023


Explain the term virtual machine?

993


How many bytes is double?

926