DDD (Deadly Diamond of Death)

Java doesn't support multiple inheritance because of Deadly Diamond of Death(DDD). What it is ?? Here is an example--
"To avoid this complexity Java provides single inheritance with interface concept. Since interface cannot have method implementation, the problem is therefore avoided since there is always only one implementation to a specific method and hence no ambiguity will arise."

 





Leave a Reply.