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 / praveenkumar

yes java supports multiple inheritance but not directly.
By implementing single inheritance we can acheive multiple
inheritance.See for example

class A{

some method();

}
class B extends A
{


}

class C extends B
{


}
like tht we can acheive multiple inheritance.

Is This Answer Correct ?    3 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is java not 100% pure oops?

1079


what is the purpose of using rmisecuritymanager in rmi?

916


Can a class with private constructor be extended?

876


how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread

984


What is compiler and what its output.

1076


What is the difference between the file and randomaccessfile classes?

1029


Why is it called a string?

942


What is a wrapper method?

1011


Why java strings are immutable in nature?

979


Define class?

976


What is meant by oops concept in java?

930


What happens if a constructor is declared private?

968


What is formatted output?

897


Where are the card layouts used?

1024


What is the purpose of the strictfp keyword?

1109