why java not supproting multiple inheritance?

Answer Posted / ershad

BCoz of DIAMOND Problem......if A extends B & B extends
A..in this case b wil override the methods of A class..if c
Extends A ..in this case C wil hav Both the properties of
A,B ....if D extends A which properties should D
inherits ..if it B,C propetries Bcoz B are having the same
methods of A & c is having the same methods of A...there
occurs the Diamond problem..

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you use equal in java?

552


What is a bufferedreader?

534


What is close method? How it's different from Finalize & Dispose?

573


Does a function need a return?

546


Is java code slower than native code?

569






What is the purpose of the wait(), notify(), and notifyall() methods in java programming?

585


Lowest Common ancestor in a Binary Search Tree and Binary Tree.

566


What java is used for?

668


What is lossy conversion in java?

573


what is nested class in java?

611


I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com

1085


What is style and indentation?

560


What are the different collection views provided by maps?

575


Are functions objects in java?

550


Explain java coding standards for variables ?

673