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 / ganesh

When the multiple inheritance is allowed, means when a language allows the class to extend multiple classes, That leads to the ambiguity as to which class method to consider, when two of its parents have the same method signature. This is called Diamond ring problem

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why map is used in java?

1084


what r advatages of websphere? & how to deploy?

2257


What is predicate in java?

1101


Describe method overriding

1178


Can we define constructor in inner class?

1059


Is java same as core java?

1166


why are wait(), notify() and notifyall() methods defined in the object class? : Java thread

1047


What is factor r?

1009


Realized?

2229


How many digits is int32?

1044


What is the difference between the prefix and postfix forms of the ++ operator?

1056


How are observer and observable used in java programming?

1078


What is the major advantage of external iteration over internal iteration?

1150


Can you declare an interface method static?

1103


What is the size of string?

1147