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

Can java run on google chrome?

1152


What is a jagged array in java?

1052


What is meant by binding in rmi?

964


Which list does not allow duplicates in java?

882


What type of language is java?

946


What is purpose of applet programming?

1143


Which object oriented concept is achieved by using overloading and overriding?

1050


Can we override private method?

1046


What is a map in java?

939


How many bits is a float?

951


How to check if a list is sorted in java?

981


What is constructor in java ?

1128


What is anti pattern in programming?

916


What is a java object and java application?

992


What is return code?

959