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

Differentiate between stringbuffer and stringbuilder in java.

1014


Explain what access modifiers can be used for variables?

1050


How to disable caching on back button of the browser?

1066


What steps are taken when the OS shifts from one-thread execution to another?

1355


Why do people says “java is robust”?

1025


What does  mean in regex?

1046


What do you understand by abstract classes?

1062


Write a program to show whether a graph is a tree or not using adjacency matrix.

1086


What is int lol?

1130


Explain polymorphism citing an example.

1032


What is parseint?

1001


Explain JMS in detail.

1012


What is an empty list in java?

958


What is meant by nested loop?

1025


Why is a string immutable?

987