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

What are the parts of methodology?

1032


What is a boolean output?

1025


What are the differences between heap and stack memory?

1143


What is a function easy definition?

1063


What is meant by overloading?

1121


What is entry in java?

1077


Do I need to import java.lang package any time? Why?

1456


Wha is the output from system.out.println(“hello”+null); ?

1211


Can memory leak happen java?

1050


Can you create an object of an abstract class?

1074


Can we have try block without catch block?

1090


What is Java Annotations?

1176


What are the two environment variables that must be set in order to run any java programs?

1015


What happens if main method is not static?

1048


What are the 4 versions of java?

1221