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

Is java supports multiple inheritance? explain?

Answer Posted / kash

Two types of inheritance in Java:
Class inheritance : A sub class can have only one base class ( Single inheritance). Although the sub class can itself be a base class to another sub class ( Multi level inheritance).
Interface inheritance: interface allows multiple classes to implement abstract methods defined on it ( so supports multiple inheritance)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are invisible components?.

2141


What do you understand by the term string pool?

996


What is a pattern what is an anti pattern?

962


What is lambda expression in java?

1029


What is return keyword in java?

1050


What is the SimpleTimeZone class?

2263


Explain access specifiers?

1172


What is the synchronized method modifier?

1195


How do you start a thread?

1029


Why does java not support pointers?

1083


What about anonymous inner classes in java?

1023


What is object in java?

978


If I only change the return type, does the method become overloaded?

917


What will be the default values of all the elements of an array defined as an instance variable?

1019


What is bufferedreader in java?

1039