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

When will we prefer to use set and list in java and why?

959


Does java have a compiler?

1026


What is a top level class in java?

1019


How infinite loop is declared?

1015


What is unmodifiable list in java?

951


What is passed by reference and pass by value ?

1028


What are the major advantages of internal iteration over external iteration?

1043


what are different ways in which a thread can enter the waiting state? : Java thread

961


What is the difference between exception and error in java?

1013


What is a generic code?

1048


How do you escape sequences in java?

1069


How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?

1001


What do you understand by Header linked List?

1096


v-model life cycle

2037


Can private method static?

907