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

Suppose if u inherit from multiple classes and in these
classes a method of same name exists then the class which
inherits from these classes gets confused that which one to
inherit. And this is also because of reducing complexity.
And above all u will get the multiple inheritance concept
in java through interfaced.

Is This Answer Correct ?    18 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain tree set and its features?

1059


What is the effect of keeping a constructor private?

951


what is thread in Java ?

1166


What is a functional interface?

1044


Is it possible to override private or static method in java?

996


How do you check if a character in a string is a digit or letter?

1076


State some advantages of java?

1244


What is hashmap in java?

1062


What is the basic difference between string and stringbuffer object?

1091


What is composition in java?

1295


Can vector have duplicates in java?

953


what is meant by Byte code concept in Java?

1071


Is static a singleton?

982


What are the two categories of data types in the java programming language?

994


What is passed by reference and pass by value ?

1032