Why multiple inheritance is removed in java?

Answers were Sorted based on User's Feedback



Why multiple inheritance is removed in java?..

Answer / jasmeet singh

coz multiple inheritence can lead to ambiguity in the child
class...
say , for example if two different class use same name for
any variable or constant and those classes are inherited by
any child class, then those variables or constants with same
name will create ambiguity in the child class

Is This Answer Correct ?    12 Yes 1 No

Why multiple inheritance is removed in java?..

Answer / ranjeet

just to omit the ambiguty in inheritence.

Is This Answer Correct ?    3 Yes 1 No

Why multiple inheritance is removed in java?..

Answer / vijayan.s

It's not completely removed. only one class can be extended
if more than one class should be inherited by using
implement.

Is This Answer Correct ?    0 Yes 0 No

Why multiple inheritance is removed in java?..

Answer / vijay.r

becoz we cant able to inherit more than one base class java.

Is This Answer Correct ?    1 Yes 7 No

Post New Answer

More Programming Languages AllOther Interview Questions

Colors specified with the notation

0 Answers  


I am taking the bmc control m/enterprise manager 7.0 scheduling test and just wanted to see what kind of questions they would ask or if anyone has taken the test and how long it is for how many questions?

0 Answers  


Hello...has anyone interviewed with Information Management Services(IMS)located in Silver Spring MD??If yes,what can you share about the programming test and the analytical test?

0 Answers   Information Management Services,


What is the effect of the OPTIONS statement ERRORS=1?

3 Answers   QSG, Quintiles, SAS,


What is test execution and when will we start execution please send me one example for this question

0 Answers  


whats the Need for Concurrency control

1 Answers  


1.Mutating table

0 Answers  


Explain three modes in which files can be accessed from python program

0 Answers   Peerless,


what is the software to run the GSM gate opener program

0 Answers  


why we use mantis? what u mean mantis in IT trends? addvantages of mantis?

0 Answers   HCL, Sacred Heart College,


how many trailing zeroes are there in 100! (100 factorial)?

5 Answers  


Write a shell program. Enter number of days from keyboard. Find out the number of years, month and days it contains

0 Answers  


Categories