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 anagram in java?

876


Explain about abstract classes in java?

988


Explain the importance of join() method in thread class?

1058


Difference between start() and run() method of thread class?

1008


What is public static void main?

1052


What is mean by encoding?

1033


Which class is used by server applications to obtain a port and listen for client requests?

914


why we use merge option in hybernate pls give a ex snippet

1939


What is the list interface in java programming?

1051


Can we have try without catch block?

1036


What is a generic code?

991


What is bom encoding?

959


What do you mean by a JVM?

1156


What is difference between java and java ee?

969


What do you mean by Hash Map and Hash Table?

1034