gyantonic
Login
Create Account
Home
Placement Preparation
Freshers Jobs
Questions
Career Discussions
Articles
Become Mentor
Students ! Create a Professional Resume in Minutes for FREE.
Answer the Question
Why Multiple Inheritance is not supported in java?
By :
Aditya gaur
On :
27-Feb-2013
Answers :
2
Report Abuse
Answer this Question
Existing Users - Login
*
Email Id :
*
Password :
Forgot Password
New Users - Create your Account
*
Email Id :
*
Password :
*
Confirm Password :
*
Full Name :
Share
|
Your Answer
Give your answer
Cancel
Previous Answers
Because of Diamond problem of multiple inheritance.
Assume we have two class B and C inheriting from A. Consider that B and C are overriding
an inherited method and they provide their own implementation. now d inherits from both B and C doing multiple inheritance. D should inherits that overridden method, which overridden method will be used? will it be from B and C? here we have an error.
On :
28-Feb-2013
Accept Count :
0
By :
Sarikaharit
Report Abuse
|
Accept Answer
|
Add Comment
ambiguity around Diamond problem occurs by using multiple inheritance
On :
27-Feb-2013
Accept Count :
0
By :
DeveshTiwari
Report Abuse
|
Accept Answer
|
Add Comment
Add a Question
Latest Answers
YOU HAVE 9 DOTS AND U HAVE TO JOIN THEM WITH FOUR LINES ,REMEMBER THAT THE LINES SHOU.....
A boat's speed with the current is 20 km/hr and the speed of the current is 5 km/hr. .....
Generally asked question In SSC On pipes and cistern Concept : Pipe A can fill in.....
Hi I am sharing Aptitude question which are generally asked in the interview : If 2x.....
What are manipulators?
Two boats are sailing in the sea on the two sides of a lighthouse. The angle of eleva.....
A right triangle with sides 3cm (base),4cm (perpendicular) is rotated the side of 3 c.....