tag:blogger.com,1999:blog-3416407328338427543.post2413799222971170471..comments2023-10-20T18:46:36.072+05:30Comments on Java Tutorial Online: What is an Interface in Javaamitberiwalhttp://www.blogger.com/profile/10392899541218382481noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-3416407328338427543.post-17228830944569504252009-08-25T23:42:36.915+05:302009-08-25T23:42:36.915+05:30Yes you are correct, the issue of multiple inherti...Yes you are correct, the issue of multiple inhertitance is avoided in Java, as it leads to Deadly Diamond of Death. Actually the structure is like one class extended by two sub classes, and then both of these two subclasses extended by one single class. There is one method which is common to all the classes. This leads to a diamond like diagram, and causes much issues in the decision making of the flow of code. So it is not allowed in Java. I will detail over it in my later post.amitberiwalhttps://www.blogger.com/profile/10392899541218382481noreply@blogger.comtag:blogger.com,1999:blog-3416407328338427543.post-27293421288591060892009-08-25T16:10:11.530+05:302009-08-25T16:10:11.530+05:30I heard about the deadly diamond of death, it is r...I heard about the deadly diamond of death, it is regarding multiple inheritance. This is supported in C++, and that cause much problems. The best part of java is that it does not support multiple inheritance, and so avoids this deadly diamond of death.Rannohttps://www.blogger.com/profile/04593997495666418057noreply@blogger.comtag:blogger.com,1999:blog-3416407328338427543.post-60444425692916688022009-08-25T15:57:31.170+05:302009-08-25T15:57:31.170+05:30Great blog bro, nice stuff and really cool. Anyway...Great blog bro, nice stuff and really cool. Anyways I would like to know about the deadly diamond of death you mentioned in your article. Hope to see more on this topic in your coming post.Unknownhttps://www.blogger.com/profile/11478846411797493218noreply@blogger.com