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 are inbuilt functions in java?

992


Where will it be used?

1888


Explain implementation and how is it different from conversion?

1017


Can we use String with switch case?

1107


What is meant by class and object in java?

967


Java Compiler is stored in JDK, JRE or JVM?

1468


What are the types of inner classes (non-static nested class) used in java?

1008


What are java threads?

1062


Is array size fixed in java?

919


What is the protected method modifier?

988


What is arraylist e in java?

1000


Can we overload the constructors?

926


Difference between method overloading and method overriding in java ?

1021


What is difference between hashset and hashmap?

1052


How do you declare a variable?

1037