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 / umesh bhargava

Java follows single-inhertitance model that is a subclass
can only aquire the properties from a single super class.
The reason is some conflicting issues with multiple classes.

But java do support multiple interface inheritance that is
a sub class can implement more than one interfaces. It can
alternatively used in place of multiple inheritance...but
remember it is multiple interface inheritance.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you remove an element from an arraylist in java?

1071


Can we assign the reference to this variable?

1031


What are the important methods of java exception class?

1201


How to stop a thread in java? Explain about sleep () method in a thread?

1065


What is bufferedwriter?

1030


Explain wrapper classes in java?

1058


How can you read content from file in java?

1053


Discuss different types of errors that generally occur while programming.

1087


What is the size of string?

1148


How do you call a reference in java?

1036


What does a za z0 9 mean?

1183


Is set ordered?

1032


Why do we need array in java?

1054


What are assembly attributes?

1062


What is the purpose of the enableevents() method in java programming?

1271