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...

What is multiple inheritance & can we implement it in java?

Answer Posted / lavanya

Java Does Support Multiple inheritance through the usage of
intrface concept. multiple inheritence is one class
acquiring the features of more than one class.

Java can extend one class but can implement more than one
interface.

intreface is a class whose methods are declared but
functionality not defined. The implementing class has to
define that functionality.

Through the use of interfaces we can avoid the confusion of
which class to use in case two extended classes have same method

Is This Answer Correct ?    13 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is vector thread safe in java?

1041


What is initial size of arraylist in java?

1044


What is an infinite loop in java? Explain with an example.

1024


What is meant by tab pans?

1225


What is a map? What are the implementations of map?

1087


Is singleton thread safe in java?

962


What are locale settings?

979


Explain about public and private access specifiers?

1041


What is the full meaning of java?

1039


Can a java program have 2 main methods?

1043


String class is defined under which package in java?

1068


What state is a thread in when it is executing?

953


Why singleton is not thread safe?

982


What exceptions occur during serialization?

1082


What is the difference between int and integer in java?

1018