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

Explain how to convert any java object into byte array.

939


How is garbage collection controlled?

1131


What’s the difference between callable and runnable?

1042


Why is multiple inheritance not supported in java?

983


Can you change array size in java?

928


What is a stringbuffer?

935


What do negative exponents mean?

983


Can variables be used in java without initialization?

1037


How can you make a class serializable in java?

951


Differences between traditional programming language and object oriented programming language?

1076


Can we call the constructor of a class more than once for an object?

1058


Explain the concept of proper inheritance?

1023


What's the difference between an abstract class and interface in java?

993


Do I need java on my computer?

938


What is difference between word and integer?

1031