Why multiple inheritance is removed in java?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Delta 5 weight scale not connect with oracle application what i can do?

1804


Which method protects back button to retrieve old value from previous page in Struts.

1444


Given a set. Write the pseudo code to get all the subsets for the given set. Eg. Input : {1,2} Output : (),(1),(2),(1,2)

2226


For a binary tree with n nodes, How many nodes are there which has got both a parent and a child?

3184


What is WEB 3.0? What are the features their in WEB3.0

1576






1.how to deploy the Maven application in weblogic server? 2.In Real time projects all classes are singleton or some classes only singleton explain? 3.what are the major uses of the designpatterns? 4.explain restful &Soap based services explain?

1645


Write a program that prints the numbers from 1 to 100. But for multiples of three print "Fit" instead of the number and for the multiples of five print "Bit". For numbers which are multiples of both three and five print "FitBit".

1953


what is the diff bw sql direct and jdbc update can't we do select and updating operation in sql direct

1676


can any one suggestion me present which course(except java,.net) has huge demand in the market?

1613


Plz sent me in .net 2.0 interview Question & answers?

1639


When will you use shell script/Perl ahead of C/C++?

651


what is the difference between read the data from table and infotype

2051


When we have two versions of the dot net installed how does the compiler know which version of DLL it has to select to an application.

1424


How will you prove that java swing is multithreaded?

1694


Hi all... I had completed MSC(Computer) and had join the construction company based on sap.they want me to work on abap.but software company is totally different from construction company and they want me 2 grasp it as fast i can.i am finding it difficult.what should i do??????

1402