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 / d.suganya

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 ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How concurrent hashmap works?

1130


Is singleton a bad practice?

993


What are synchronized methods and synchronized statements in java programming?

973


What is the use of singleton?

913


Can a constructor be made final?

1054


What are the different types of inheritance in java?

953


What is boolean used for?

990


What is thread safe singleton?

903


What is the difference between overriding & overloading?

1014


Why parameters should be passed by reference?

918


Define how can we find the actual size of an object on the heap?

1120


What is immutable class in java?

896


What is the main purpose of serialization in java?

979


What is the map interface in java programming?

970


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

1319