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 / vijayhukkeri@gmail.com

No. Java does't support multiple inheritance. It supports
only multilevel inheritance.Multiple inheritance is
possible in interfaces by using implements keyword.
ex: class a
{
----
}
class b extends a
{
----
}
class c extends a,b // this is not possible

ex2: class a
{
----
}
class b implements a
{
----
}
class c implements a,b // possible
{
---
}

Is This Answer Correct ?    9 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why put method is used?

1002


Can java run on google chrome?

1185


What is a variable declaration?

968


What is an empirical question?

958


What are the two types of exceptions in java? Which are the differences between them?

1084


What are different types of constants?

1033


What is array list in java?

1069


What is the differences between c++ and java? Explain

1037


What is a lambda expression ? What's its use ?

1092


What are the types of inner classes (non-static nested class) used in java?

1053


What is the purpose of default constructor?

994


Why vector class is used?

988


Explain implementation and how is it different from conversion?

1073


What is function overriding and overloading in java?

1103


What is command line argument

1184