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

Is an integer an object?

902


How do you add an element to a set in java?

974


What are different data types?

959


Why is method overloading not possible by changing the return type in java?

942


Explain public static void main(string args[]) in java.

931


What is the generic function?

924


What methods are used to get and set the text label displayed by a button object?

956


Does java trim remove newline?

923


What are the different types of methodologies?

943


How to instantiate static nested classes in java?

1011


What does jenkins do?

863


Write a code to create a trigger to call a stored procedure

907


Where import statement is used in a java program?

1076


Can a class declared as private be accessed outside it’s package?

948


How many times finalize method will be invoked? Who invokes finalize() method in java?

963