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 a condition in java?

933


What is the significance of listiterator?

1015


What happens to the Exception object after handling an exception?

2322


Can we sort hashset in java?

1034


Explain access modifiers in java.

968


Is object a data type?

911


Why is java logo a cup of coffee?

1067


What are the different types of inheritance in java?

950


What is a singleton factory?

900


When should I use a singleton?

977


What do you understand by a Static Variable?

1138


What does null mean in java?

1015


Can java list contain duplicates?

957


What is a literal coding?

961


How do you initialize an arraylist in java?

974