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

Java supports Multiple Inheritence using Interface concept
by providing common implementations , and more important to
observe is every class that we use in java is inherited by
Object class, so even though we can extend from other
classes, This clearly shows that JAVA supports Multiple
Inheritence..(Sharandesai007@gmail.com)

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What steps are taken when the OS shifts from one-thread execution to another?

1319


What is a protected class in java?

951


Can you access the private method from outside the class?

916


What are internal variables?

945


What happens when you add a double value to a string?

945


Are floats faster than doubles?

994


what are abstract functions?

979


Why do we create threads in java?

1159


Does java allow overriding static methods ?

1063


What is local class in java?

1033


What is the access scope of protected access specifier?

940


What are the differences between wait() and sleep()?

964


What is http client in java?

1029


How do you calculate square roots?

1106


What is navigable map in java?

943