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

What is this keyword used for?

1179


How a variable is stored in memory?

1047


Why we used vector class?

1114


Is math class static in java?

1153


What restrictions are placed on method overloading?

1230


What is a native method in java programming?

1106


What is β€˜is-a β€˜ relationship in java?

1111


What is a ?

1268


Is c better than java?

1002


What is the exception hierarchy in java?

1020


What is meant by object oriented programming – oop?

1045


What are the different types of sorting in java?

1022


Explain yield() method in thread class ?

1114


Explain java code for recursive solution's base case?

1087


Why stringbuffer is faster than string?

1086