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 not supproting multiple inheritance?

Answer Posted / ershad

BCoz of DIAMOND Problem......if A extends B & B extends
A..in this case b wil override the methods of A class..if c
Extends A ..in this case C wil hav Both the properties of
A,B ....if D extends A which properties should D
inherits ..if it B,C propetries Bcoz B are having the same
methods of A & c is having the same methods of A...there
occurs the Diamond problem..

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Variable of the boolean type is automatically initialized as?

1018


Is java code slower than native code?

1080


why are there separate wait and sleep methods? : Java thread

1037


What is thread safe java?

931


How do you break a loop?

989


Name container classes in java programming?

1114


What is the difference between an object-oriented programming language and object-based programming language?

1021


What is the java virtual machine?

1101


What is unicode full form?

994


Is integer immutable in java?

1000


What is the difference between a field variable and a local variable?

1123


What is method overloading with type promotion?

1284


What is general methodology?

1051


What do you understand by weak reference?

1018


Explain java code for recursive solution's base case?

1042