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 / priyanka

Multiple inheritance means derive class from multiple
classes but java can't extend multiple classes. it can
extend one class but multiple interfaces. so create
multiple interfaces n then implement it.

Java have such fzacility to avoid ambiguty.
Thank u

Is This Answer Correct ?    35 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Recursion Function?

1128


How do you end a program?

1032


When throw keyword is used?

991


what is meant by encapsulation?

1032


How to optimize the javac output?

960


What is linkedlist in java?

930


What is treemap in java?

898


What does a method signature consist of?

923


What are the restrictions that are applied to the java static methods?

927


How is it possible for two string objects with identical values not to be equal under the == operator?

923


What is java dot?

886


Why parameters should be passed by reference?

911


Which list is sorted in java?

964


How do you use compareto in java?

923


Can we use a default constructor of a class even if an explicit constructor is defined?

1048