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

Why unicode is important?

900


What is == in java?

967


How do you check if a character in a string is a digit or letter?

1017


Explain the difference between extends thread vs implements runnable in java?

1072


What is json parser in java?

1018


In a program, initializing an array of 100 KB is throwing an out of memory exception while there is 100 MB of memory available. Why?

993


What is hashing principle in java?

980


Explain the difference between throw and throws in java?

954


What are the two parts of a conditional statement?

920


What is difference between local variable and global variable?

957


What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?

1080


Explain the polymorphism principle?

970


What is the use of parse function in java?

933


What are the advantages of autoboxing?

985


Can singleton class be cloned?

1010