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.

Answers were Sorted based on User's Feedback



all are saying java doesn't support multiple inheritance but by default Object class is super ..

Answer / ravi

Java does not support multiple inheritence but supports,
Multi level inheritence.
In your question what you r saying is multi level
inheritence.

Is This Answer Correct ?    21 Yes 4 No

all are saying java doesn't support multiple inheritance but by default Object class is super ..

Answer / shrikanth

dude java does support multiple inheritence,although we dont
implement directly we will do it using interfaces. Good
observation from you.

Is This Answer Correct ?    9 Yes 5 No

all are saying java doesn't support multiple inheritance but by default Object class is super ..

Answer / varun mittal

Please look all the answers.
They do not have any meaning.
I think that only one answer is related to question

i think one class defaultly have the features of Object
class

Is This Answer Correct ?    3 Yes 0 No

all are saying java doesn't support multiple inheritance but by default Object class is super ..

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

all are saying java doesn't support multiple inheritance but by default Object class is super ..

Answer / dinesh goud

java does not supports multiple inheritance .........we fell that through interface we can achive but that is not correct.........through interface we achive only late binding.........

Is This Answer Correct ?    0 Yes 0 No

all are saying java doesn't support multiple inheritance but by default Object class is super ..

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

all are saying java doesn't support multiple inheritance but by default Object class is super ..

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

all are saying java doesn't support multiple inheritance but by default Object class is super ..

Answer / bindu

i think one class defaultly have the features of Object
class bcoz it is parent to all classes.
so v r not directly extends the Object class.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Core Java Interview Questions

How is tree Mirroring implemented?

0 Answers   Fidelity,


my method "abc" return array of interface "xyz" and "pqr" is abstract class implements abc and class "jkl" extends pqr My problem 1) when i call abc it retrun array xyz how can i do this hint xyz refer_xyz = new jkl(); but i can't create array. 2)I want to access method of jkl using reference of xyz??

1 Answers  


What is the difference between integer parseint and integer valueof?

0 Answers  


In Java, what are this() and super(), and where are you required to use them?

2 Answers  


What is the differnence between String Buffer and String builder despite having knowledge that String builder is faster than String Buffer and last one is threadsafe.please tell another important difference.

3 Answers   IBM,


How will you get the platform dependent values like line separator, path separator, etc., ?

0 Answers  


How are variables stored in memory?

0 Answers  


what is the use of thread?Justify it by project point of view

7 Answers  


What is a “stateless” protocol ?

0 Answers  


whats the life cycle of jsp

15 Answers   Satyam,


What is singleton math?

0 Answers  


Is empty .java file name a valid source file name?

0 Answers  


Categories