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

What is t type java?

1008


Explain serialization and deserialization in java?

938


Can set contain duplicates?

954


What is string buffer?

902


What is a stack class in java ?

1046


What causes memory leaks in java?

869


What is nested loop? What is dangling else condition in it?

1021


What is bufferedwriter?

915


Can we have this () and super () together?

980


What is the use of http-tunneling in rmi?

1000


What is the original name of java?

1005


Is java still relevant?

931


Which of the following classes will have more memory allocated?

970


What are the four pillars of java?

1156


How do you do absolute value in java?

922