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...

Is multiple inheritance allowed in Java? Why ?

Answer Posted / bhasker tiwari

All the answer given above are True .
but i would like to add few more.
Reasons are follows:
1.As java creates .class for each Java file.and As all java
files has there own variable and methods so incase of
Multiple inheritence all will mess up , so to avoid this
situation Java do not allow Multiple Inheritence.
2. the above discussed Diamond problem is also a Reason.

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is char a data type in java?

973


Difference between arraylist and vector.

1127


Does set allows null in java?

956


What is main function purpose?

1033


What is super keyword explain with example?

1287


What is balanced tree in java?

971


What is executor memory?

949


List any five features of java?

1030


which pattern is default in scanner package?

2235


What is an infinite loop?

1255


How many bytes is a url?

986


What are identifiers in java?

1125


What is gui programming?

1032


Name and explain the types of ways which are used to pass arguments in any function in java.

1077


how to create multithreaded program? : Java thread

949