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 purpose of nested class in java?

1015


You're given a Boolean 2D matrix, can you find the number of islands?

1046


Explain the scope of a variable.

1024


What is the protected method modifier?

988


Is boolean a wrapper class in java?

999


What is a void in java?

1065


What is length in java?

959


Is string a data type in java?

977


what is instanceof operator used in java?

971


Does variable declaration allocate memory?

983


Is arraylist ordered in java?

1038


what is mena by object block any what is the use of that

2161


What are the differences between c++ and java?

1076


Can we create object of inner class in java?

882


How can we make string upper case or lower case?

1025