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 / aruna raman

Yes-Java does not support multiple inheritence but supports
Multi level inheritence.
A class can extends only one class(which also extends from
object class), So this a multi level inheritance not
multiple inheritence.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of abstract class?

1013


What is complexity in java?

1018


What is constant in programming?

1102


What is the benefit of inner / nested classes ?

984


How to overcome the exception object reference not set to an instance of object?

1140


What are the main uses of java?

987


Tell me the Importent classes in net package?

1991


What is local class in java?

1082


Explain about varargs in java?

1122


What is downcasting?

1098


what do you understand by the term string with respect to java?

1032


In the below example, how many string objects are created?

1043


How is a structure different from array ?

1035


Which software is used for java programming?

1013


What is numel matlab?

1330