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 is multiple inheritance not allowed in java?

Answer Posted / sikinder

Whenever one Sub Class Extends more than one classes, at
the time of creating that class object, JVM gets confused
to call the parent class constructor as well as methods.

To avoid this ambuiguity, java doesn't support multiple
inheritance

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is sizeof not a function?

945


What are reference variables in java?

1080


Why 1 is not a prime number?

983


What is use of static method?

1001


how to create constants in java?

1043


Explain different ways of creating a thread. Which one would you prefer and why?

991


What's the purpose of using break in each case of switch statement?

941


Write a factorial program using recursion in java?

957


What are the restrictions imposed by a Security Manager on Applets?.

2568


Is java an open source?

934


What is the purpose of the System class?

956


Is string a class?

978


Can keyword be used as identifier?

910


Which is bigger float or double java?

928


Is boolean a data type in java?

908