Why multiple inheritance is removed in java?
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / vijay.r
becoz we cant able to inherit more than one base class java.
Is This Answer Correct ? | 1 Yes | 7 No |
Need provab technical test questions
what is client server & server? What r types of Joins? explsin it! which types of indexex in sql server? what is triggers?
WHAT IS MAIN IMPORTANT THING IN SOFTWARE?
Ordered List tag is
What is meant by spooling
what is dot net framework
Please forward important interview and basic questions in VB6 on my email id: usneha_16@yahoo.co.in
what is jackson structured develepment?? and how is it different from OMT??
what do u mean by html
What language / script is used to validate web page
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?