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 / krishna.tadi

multiple inheritance:
def:
The process of deriving a subclass from morethen 2 classes

java doesnot support multiple inheritance through the use of the class
Because the same method()names in the more than one class this introduces the ambiguity problem
So to avoid this in java interfaces are introduced in interface we have only method declarations and we have to implement that method not override

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain access modifiers in java.

1042


What are disadvantages of java?

1000


What is run time allocation?

1024


What is the purpose of using javap?

1098


What is the use of accept () method in java?

1097


What are the four pillars of java?

1211


Does java support function overloading, pointers, structures, unions or linked lists?

1108


Can final class have constructor?

926


What is string value?

1166


Write a program to print count of empty strings in java 8?

1006


What is difference between jdk,jre and jvm?

1125


What variables are stored in stack?

976


What is string pool?

1125


What is the function of static in java?

1079


Write the algorithm to check the number non-leaf nodes in a tree.

1077