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 / shahnawaz akhtar

bcoz of memory loss problem sun has not provide multiple
inheritance concept multiple inheritance is not achived in
java through class but we can achieve it by interface bcoz
interface only allow final static variable and abstract
method ,due to static variable it allocates memory only one
time so less memory is loss thats why sun has not provide
multiple inheritance concept through class

Is This Answer Correct ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is java good for beginners?

973


Name some classes present in java.util.regex package.

992


What are the important features of Java 8 release?

1036


What is the diffrence between inner class and nested class?

1037


How many wrapper classes are there in java?

975


What is java abstraction with example?

995


Write a method that will remove given character from the string?

978


What is java Applet?

1044


Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?

938


What is gc()?

989


What is entry in java?

976


Is java util list serializable?

897


What is internal iteration in java se 8?

1140


What is return code?

959


Can we sort array in java?

899