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

What are the access modifiers in java?

1039


Explain java coding standards for constants?

1018


How do you reverse a string in java without using string buffer?

1098


What is object-oriented programming?

1124


What are different exception types exceptions available in java ?

1007


What is the generic class?

971


Why charat is used in java?

1054


How many tetrahedral voids are there in bcc?

1097


Which collection is sorted in java?

1034


What is command line argument in java?

1152


How to remove the trailing spaces from a string?

1275


How does enum work in java?

1020


Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?

1069


What is thread safe singleton?

949


What are 3 data types?

996