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 will be the output of round(3.7) and ceil(3.7)?

1112


Difference between association, composition and aggregation?

961


Can java object be locked down for exclusive use by a given thread?

980


Can we call thread start () twice?

945


Can we serialize arraylist in java?

994


What is %d in printf?

1032


How big is a boolean?

1019


What are 5 boolean operators?

1162


What are the types of arrays in java?

1069


What are disadvantages of java?

988


Can we overload the constructors?

975


Is null a string?

982


Can we store variables in local blocks?

1339


Are generics important java?

959


Explain the meaning of java applet.

1054