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

why java does not support multiple inheritance

Answer Posted / rajib

class ConcreteClaNm extends SuperClass{}
or
class ConcreteClaNm extends IncompleteClass{}
hense java does not support multiple inheritance.
or
class IncompleteClass extends ConcreteClaNm{}
But
class ConcreteClaNm implements interface1,interface2....
{
}
or
class IncompleteClass implements interface1,interface2....
{}

public interface InterName extends InterName1,InterName2...
{}

We achive single inheritance and multiple inheritance like this.

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between actual and formal parameters?

945


How do we access static members in java?

1110


What is use of arraylist in java?

1179


How will you initialize an Applet?

1151


What are the 4 types of research methods?

922


What is purpose of find feature?

1081


What are the benefits of operations in java?

1052


Which arithmetic operations can result in the throwing of an arithmeticexception?

1027


What is == and === in javascript?

1057


Is empty set an element of empty set?

1108


What is the main purpose of serialization in java?

1034


What is proper subset?

975


What is method in research paper?

1136


What is the function of log?

1009


What is java instanceof operator?

1045