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

Does Java support multiple Inheritance?

Answer Posted / sadikhasan,meta

Java does not support multiple inheritance because it
creates a dimond problem.

if we want to implement multiple inheritance in java then we
use interfaces which support multiple inheritance.

e.g.
interface B
{
}
interface C
{
}
class A implements B,C
{
}

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between keyword and identifier?

975


What is constant in programming?

1029


Describe what happens when an object is created in java ?

947


Can we define package statement after import statement in java?

955


Where pragma is used?

992


How to print an arraylist in java?

1000


How do I print a “?

947


What are the core java topics?

990


Explain numeric promotion?

1024


Will minecraft java be discontinued?

1114


What is difference between iterator access and index access?

1012


What is jit and its use?

947


What are the differences between graph and tree?

1062


What is type inference in java8?

976


What occurs when an object is constructed?

938