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

What is the difference between processes and threads?

1047


Explain what is Marker interface?

1084


Why does java have different data types for integers and floating-point values?

1002


What is the function of character?

1047


What are abstract classes and anonymous classes?

1071


Explain inner classes ?

1121


How many bits is size_t?

983


Define iterator and methods in iterator?

963


How is Object Oriented Programming different from Procedure Oriented Programming?

1043


What are synchronized methods ?

1107


What defines function?

966


Where are local variables stored?

961


What is an interoperable application in java ?

991


What is meant by method overriding?

1105


How to use arraylist in java netbeans?

1033