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 pre increment and post increment in java?

1033


Are static members inherited to sub classes?

1186


What are keywords and reserved words in java?

1112


How will you add panel to a frame?

1163


What is floor in java?

1079


Write a program to find the whether a number is an Armstrong number or not?

1073


Differences between external iteration and internal iteration?

1210


What is the difference between menuitem and checkboxmenu item?

1378


What exactly is java?

996


What are the new features in java 8? Explain

997


Explain wrapper classes in java?

1056


What are the skills required for core java?

1070


What does localhost mean?

1005


What is difference between string and stringbuffer?

1189


Can we sort set in java?

1005