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 mulitple inheritance directly?

Answer Posted / sumit pal singh

java Doesn't Support multiple inheritance.when two super classes have same variable name and same method name .then subclass confused from which class variable and method will be executed.due to this ambiguity is produced and java is a simple programming language not produce any confusion to developer.so multiple inheritance is restricted in java.

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 int short for?

1036


How many types of flags are there?

1013


what is use of functional interface in java 8?

1006


What is double parsedouble in java?

1038


What mechanism does java use for memory management?

971


What is the Concept of Encapsulation in OOPS

993


How do you sort in descending order in java using collections sort?

884


Tell me about different OOPS concepts.

992


What is tree in java?

909


What programs use java?

945


Describe different states of a thread.

997


From the two, which would be easier to write: synchronization code for ten threads or two threads?

1048


How many bytes is string in java?

1238


Does java support Operator Overloading?

1040


What is meant by attribute?

1107