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 not supproting multiple inheritance?

Answer Posted / venkatachalapathy

Java doesn’t provide multiple inheritance (MI), at least
not in the same sense that C++ does. Like
protected, MI seems like a good idea but you know you need
it only when you are face to face with a
certain design problem. Since Java uses a singly-rooted
hierarchy, you’ll probably run into fewer situations in
which MI is necessary. The interface keyword takes care of
combining multiple interfaces.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain autoboxing in java?

942


Can a hashset contain duplicates java?

929


Write a program to reverse a number in java?

1053


What is jit compiler in java?

1039


What is the purpose of file class?

973


What is final keyword in java?

979


How can we create a thread in java?

973


What is meant by polymorphism?

961


make a method which any number and any type of argument and print sum of that arguments.....

1754


What is unmodifiable list in java?

910


What are the advantages of defining packages in java?

932


Justify your answer that you can't define a method inside another method in java, if you can then how?

1096


What is difference between local variable and global variable?

958


What are the high-level thread states in java programming?

1005


Mention the default values of all the elements of an array defined as an instance variable.

937