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

what is the difference between thread and runnable types? : Java thread

1048


How do you decide when to use arraylist and linkedlist?

1046


What does flag mean in java?

1081


What is an example of character?

1203


Does java return by reference?

1066


Can a class be final?

985


Does java have extension methods?

1043


What a static class can contains?

1194


Where we write javascript code in html page?

1101


What is included in core java?

1097


Where and how can you use a private constructor?

1038


why using interface interface ?

2102


What is this keyword in java?

1080


How many arguments can a method have java?

1065


What is a bubble sort in java?

999