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

all are saying java doesn't support multiple inheritance but
by default Object class is super class for all the user
defined classes and we can extend atmost one class so each
class can extend more than one class so java supports
multiple inheritance?i am confused with this,pls any one
explain me.

Answer Posted / kartik naidhruva

Its foolish to say a class extends more than one class...
Who told u that!!!!
inorder to implement multiple inheritance in java we use
INTERFACES....
with the help of interfaces we can Partially implement
Multiple inheritance

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is immutable data?

1057


placement papaers of spring computing technology

1408


Can an anonymous class be declared as implementing an interface and extending a class in java programming?

1285


What is super?

1166


What is java used for on a computer?

997


What is the difference between C++ and Java and your preferences?

1113


Define an applet in java?

1162


What are the changes in java.io in java 8 ?

1033


Why is the main method static?

1160


What are the two environment variables that must be set in order to run any java programs?

967


What is a double vs float?

1016


Which of the classes will have more memory allocated?

976


How to make object serializable in java?

992


Which is faster string or stringbuilder?

928


What if I write static public void instead of public static void in java?

1091