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

Is {a, n, d} a palindrome? If you are given a random string, is it a palindrome or not?

1134


What are annotations in java?

1097


What is classpath?

1017


What is a boolean expression in java?

1035


Is string an object?

1122


What is preflight request?

1021


What is hash in java?

978


Is alive and join method in java?

1179


What is the hashcode () and equals () used for?

1039


Why hashset is used in java?

1080


What is your platform’s default character encoding?

1083


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

998


What is bytecode verifier?

949


Give the hierarchy of inputstream and outputstream classes.

1105


Define jre i.e. Java runtime environment?

1021