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

What is e in java?

953


What is singleton math?

1119


What is OOP's Terms with explanation?

1182


What is a void method java?

951


why would you use a synchronized block vs. Synchronized method? : Java thread

943


What is double in java?

972


How we can make copy of a java object?

1092


Explain about fail safe iterators in java?

1015


Is void a data type in java?

979


If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?

1245


Why string is immutable with example?

959


Does java vector allow null?

948


Is .net better than java?

1008


What are three ways in which a thread can enter the waiting state in java programming?

1156


What is the difference between super class & sub class?

1180