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

what is the meaning of without standing arrears?

0 Answers   TCS,


in a company 30% are supervisors and 40% employees are male if 60% of supervisors are male. what is the probability that a randomly choosen employee is a male or female?need steps to solve this?

1 Answers   TCS,


how to generate dsnless connectivity in j2ee

0 Answers  


can any method return type may be constructor , or that method name allow

0 Answers   HCL,


I want Ada programming language books. Could anyone post me any link for that?

0 Answers  






What are the main principles of OOP?

1 Answers  


How to call dll API sub routine in VB Form.

0 Answers  


Please describe an example where you used object orientation in one of your programs.

0 Answers  


Need provab technical test questions

0 Answers  


What is %Type,%Rowtype?

0 Answers  


define profiler???

0 Answers  


Mainly Related to Oracle, DBMS , Oracle Stored Procedures, Functions, Oracle 9i Architecture, Redo logs..., Views,

0 Answers   Indian Overseas Bank,


Categories