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 a modifier?

1520


What about interrupt() method of thread class ?

1069


What methodology can be utilized to link to a database?

965


What are methods in java?

994


What is an inner class in java?

969


What is variable and rules of variable?

1020


How do you add an element to a set in java?

1036


What is unicode in java?

929


Can you override a final method?

1035


Implement a stack with push (), pop() and min() in O(1) time.

1112


List some important features of java 10 release?

1078


What is functional interface in javatpoint?

1053


What are the types of java languages?

976


These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }

1087


What is the difference between an inner class and a sub-class?

1017