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

Need provab technical test questions

0 Answers  


what is client server & server? What r types of Joins? explsin it! which types of indexex in sql server? what is triggers?

0 Answers  


WHAT IS MAIN IMPORTANT THING IN SOFTWARE?

0 Answers   Infosys,


Ordered List tag is

1 Answers  


What is meant by spooling

2 Answers   Qiscet,






what is dot net framework

0 Answers   NIC,


Please forward important interview and basic questions in VB6 on my email id: usneha_16@yahoo.co.in

0 Answers  


what is jackson structured develepment?? and how is it different from OMT??

1 Answers  


what do u mean by html

5 Answers   Infosys,


What language / script is used to validate web page

3 Answers  


Given three sides of a triangle. Write the Program to determine whether the triangle is : 1) Invalid 2) Right Angled 3) Isoscales 4) Equilateral 5) Not Special An Isoscales right angled triangle should be taken as a Right Angled Triangle

3 Answers   FFC, Goldman Sachs, Student,


what is the difference between conversion and interface in bdc?

1 Answers  


Categories