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 java does not support multiple inheritance

Answer Posted / kishore

Java absolutly support multiple inheritence in terms of
Interface.We can extend one class only to avoid ambiguity
problem.In interface we have to define the functions.So we
don't get any ambiguity.In c++ it is big problem with
multiple inheritence but in JAVA this thing is improved by
introducing Interfaces

Is This Answer Correct ?    304 Yes 88 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the scope or life time of class variables or static variables?

983


What is the default value of float and double datatype in java?

1008


What is the size of int in 64-bit jvm?

1087


How to use string tokenizer class.

1192


Can we serialize static variables in java?

1080


What is data type example?

956


What is comparator in java?

996


What do you understand by Header linked List?

1094


Can we nested try statements in java?

1094


What is meant by local variable and instance variable?

1014


What is the advantage of preparedstatement over statement?

1099


What is command line used for?

1087


How do you create a reference in java?

969


When we serialize an object does the serialization mechanism saves its references too?

1015


How to calculate the length of a singly linked list in java?

1023