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 / rajiv

java does not support multiple inheritance because it does
not meet object oriented specification. Due to ambiguity
problem will arise if two or more superclass have the same
method name, and the super keyword will not be able to
decide which superclass to call. so we use interface to
solve this problem.

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is blank final variable?

1113


What state is a thread in when it is executing?

1028


what are the methods in object?

1203


What are the 3 types of loops in java?

1155


List some important features of java 10 release?

1155


What is a classloader in java?

1061


What is the relationship difference the canvas class and the graphics class?

1110


What are internal and external variables?

1005


How do you compare two strings lexicographically?

976


What is the purpose of an interface?

1095


What is bitwise complement?

1027


I want to control database connections in my program and want that only one thread should be able to make database connection at a time. How can I implement this logic?

1141


Which are the two subclasses under exception class?

1164


Why spring singleton is not thread safe?

1046


Where is the singleton class used?

1079