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

Is class forname reflection?

914


Difference between serialization and deserialization in java?

1081


How do we access static members in java?

1060


What is the right data type to represent a price in java?

913


What is bytecode verifier?

880


Explain numeric promotion?

1025


What are synchronized methods and synchronized statements in java programming?

971


What is the difference between member variables initialization and assignment in a constructor?

1176


Explain about data types?

1004


Can a constructor call another constructor?

924


How can we run a java program without making any object?

985


What are the basic concepts of OOPS in java?

973


Can we instantiate interface in java?

1092


How many bits is a string?

942


What about static nested classes in java?

1076