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

Does garbage collection occur in permanent generation space in jvm?

1042


What is the point of polymorphism java?

964


What is hashmap in java?

1028


What is thread pool in java with example?

962


Who developed java?

946


How many types of operators are there?

943


What is the importance of hashcode() and equals() methods?

1019


What are the advantages of inner classes?

969


Can a final variable be initialized in constructor?

935


What are the basic interfaces of java collections framework?

1065


what are Hostile Applets?

2030


What is the best way to findout the time/memory consuming process?

994


How does a for loop work?

960


How do you do math powers in java?

1027


What are the advantages of unicode?

981