Why java Don't Support Multiple interitence

Answer Posted / sid

The famous "diamond shaped problem " is the reason behind NOT using multiple inheritance in java.
check out this link for full details
http://en.wikipedia.org/wiki/Diamond_problem

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many boolean functions are there?

502


What is a java developer salary?

536


What are 5 boolean operators?

612


Difference between error and exception

4997


Can a singleton class be inherited?

516






Explain the init method?

537


What is set in java?

522


What are the main differences between notify and notifyAll in Java?

571


What is java util function?

508


Tell me about your ability to work under pressure

1763


Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).

1600


What are the differences between the constructors and methods?

568


What is a singleton in genetics?

555


Is set sorted in java?

510


Can static methods access instance variables in java?

567