<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Why multiple inheritance is not allowed in Java</title>
	<atom:link href="http://webmoli.com/2008/08/02/why-multiple-inheritance-is-not-allowed-in-java/feed/" rel="self" type="application/rss+xml" />
	<link>http://webmoli.com/2008/08/02/why-multiple-inheritance-is-not-allowed-in-java/</link>
	<description></description>
	<lastBuildDate>Sun, 27 May 2012 04:44:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Anonymous</title>
		<link>http://webmoli.com/2008/08/02/why-multiple-inheritance-is-not-allowed-in-java/#comment-1107</link>
		<dc:creator><![CDATA[Anonymous]]></dc:creator>
		<pubDate>Fri, 07 Oct 2011 09:43:45 +0000</pubDate>
		<guid isPermaLink="false">http://venkatsadasivam.wordpress.com/?p=89#comment-1107</guid>
		<description><![CDATA[thanx venkat]]></description>
		<content:encoded><![CDATA[<p>thanx venkat</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suresh Babu</title>
		<link>http://webmoli.com/2008/08/02/why-multiple-inheritance-is-not-allowed-in-java/#comment-830</link>
		<dc:creator><![CDATA[Suresh Babu]]></dc:creator>
		<pubDate>Fri, 03 Sep 2010 07:18:16 +0000</pubDate>
		<guid isPermaLink="false">http://venkatsadasivam.wordpress.com/?p=89#comment-830</guid>
		<description><![CDATA[Hi venkat,

You have given a great thought to those who are still thinking How multiple inheritance is satisfield in java.Its amazing and you made a great help to java developers.]]></description>
		<content:encoded><![CDATA[<p>Hi venkat,</p>
<p>You have given a great thought to those who are still thinking How multiple inheritance is satisfield in java.Its amazing and you made a great help to java developers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://webmoli.com/2008/08/02/why-multiple-inheritance-is-not-allowed-in-java/#comment-632</link>
		<dc:creator><![CDATA[Anonymous]]></dc:creator>
		<pubDate>Fri, 02 Oct 2009 15:25:55 +0000</pubDate>
		<guid isPermaLink="false">http://venkatsadasivam.wordpress.com/?p=89#comment-632</guid>
		<description><![CDATA[I don&#039;t see why there has to be a conflict problem. Why couldn&#039;t they just say that the base class listed first has the priority?]]></description>
		<content:encoded><![CDATA[<p>I don&#8217;t see why there has to be a conflict problem. Why couldn&#8217;t they just say that the base class listed first has the priority?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Venkat</title>
		<link>http://webmoli.com/2008/08/02/why-multiple-inheritance-is-not-allowed-in-java/#comment-569</link>
		<dc:creator><![CDATA[Venkat]]></dc:creator>
		<pubDate>Fri, 12 Jun 2009 02:53:32 +0000</pubDate>
		<guid isPermaLink="false">http://venkatsadasivam.wordpress.com/?p=89#comment-569</guid>
		<description><![CDATA[Hey Venkat...
      Got it .. Thanks .. 
- Venkat.]]></description>
		<content:encoded><![CDATA[<p>Hey Venkat&#8230;<br />
      Got it .. Thanks ..<br />
- Venkat.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gopal</title>
		<link>http://webmoli.com/2008/08/02/why-multiple-inheritance-is-not-allowed-in-java/#comment-112</link>
		<dc:creator><![CDATA[gopal]]></dc:creator>
		<pubDate>Sat, 16 Aug 2008 09:58:20 +0000</pubDate>
		<guid isPermaLink="false">http://venkatsadasivam.wordpress.com/?p=89#comment-112</guid>
		<description><![CDATA[Thankyou  for giving good reason  behind  that&quot;why interface concept introduced in java?&quot;.......................]]></description>
		<content:encoded><![CDATA[<p>Thankyou  for giving good reason  behind  that&#8221;why interface concept introduced in java?&#8221;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Asit</title>
		<link>http://webmoli.com/2008/08/02/why-multiple-inheritance-is-not-allowed-in-java/#comment-106</link>
		<dc:creator><![CDATA[Asit]]></dc:creator>
		<pubDate>Tue, 12 Aug 2008 12:15:58 +0000</pubDate>
		<guid isPermaLink="false">http://venkatsadasivam.wordpress.com/?p=89#comment-106</guid>
		<description><![CDATA[Before searching the answer about the avoidance of multiple inheritance in java I was thinking about the diamond problem occurs in c++ .Thanks you gave the same answer.]]></description>
		<content:encoded><![CDATA[<p>Before searching the answer about the avoidance of multiple inheritance in java I was thinking about the diamond problem occurs in c++ .Thanks you gave the same answer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hari</title>
		<link>http://webmoli.com/2008/08/02/why-multiple-inheritance-is-not-allowed-in-java/#comment-100</link>
		<dc:creator><![CDATA[Hari]]></dc:creator>
		<pubDate>Mon, 04 Aug 2008 23:21:41 +0000</pubDate>
		<guid isPermaLink="false">http://venkatsadasivam.wordpress.com/?p=89#comment-100</guid>
		<description><![CDATA[Though many people would have come across this Diamond inheritance problem, few would have related that to the interface concept in Java. Good that you put the raison d&#039;etre, Venkat. You don&#039;t know how much your articles can make people think!

I would just like to add a few points here:

1) Consider there is no super class &#039;A&#039; [which forms of the top of &#039;Diamond&#039;], and we have just classes B and C. Say, we have 2 identical methods in both &#039;B&#039; and &#039;C&#039;, even in that case, a class &#039;D&#039; which inherits both &#039;B&#039; and &#039;C&#039; will have problem choosing the appropriate method implementation to run [assuming that D doesn&#039;t override the method at all]. 

The same scenario could be considered in Java, where 2 different interfaces can have one method each, with the same signature. A class inheriting both the interfaces, however, needn&#039;t worry and provide implementation to the method only once.

But,think of a slight difference to the scenario above, where one interface &#039;A&#039; has a method foo() which returns &#039;int&#039; and another interface B which also has a method definition foo() which returns nothing[void]. Now a class &#039;C&#039; cannot inherit both the interfaces together if it does, then it has to provide implemenation for both versions of &#039;foo()&#039;. If the class goes on to do that, the Java compiler doesn&#039;t allow because, Java doesn&#039;t support method overloading based on return type. Related to the same, I found this article interesting:  http://today.java.net/pub/a/today/2008/07/31/return-type-based-method-overloading.html]]></description>
		<content:encoded><![CDATA[<p>Though many people would have come across this Diamond inheritance problem, few would have related that to the interface concept in Java. Good that you put the raison d&#8217;etre, Venkat. You don&#8217;t know how much your articles can make people think!</p>
<p>I would just like to add a few points here:</p>
<p>1) Consider there is no super class &#8216;A&#8217; [which forms of the top of 'Diamond'], and we have just classes B and C. Say, we have 2 identical methods in both &#8216;B&#8217; and &#8216;C&#8217;, even in that case, a class &#8216;D&#8217; which inherits both &#8216;B&#8217; and &#8216;C&#8217; will have problem choosing the appropriate method implementation to run [assuming that D doesn't override the method at all]. </p>
<p>The same scenario could be considered in Java, where 2 different interfaces can have one method each, with the same signature. A class inheriting both the interfaces, however, needn&#8217;t worry and provide implementation to the method only once.</p>
<p>But,think of a slight difference to the scenario above, where one interface &#8216;A&#8217; has a method foo() which returns &#8216;int&#8217; and another interface B which also has a method definition foo() which returns nothing[void]. Now a class &#8216;C&#8217; cannot inherit both the interfaces together if it does, then it has to provide implemenation for both versions of &#8216;foo()&#8217;. If the class goes on to do that, the Java compiler doesn&#8217;t allow because, Java doesn&#8217;t support method overloading based on return type. Related to the same, I found this article interesting:  <a href="http://today.java.net/pub/a/today/2008/07/31/return-type-based-method-overloading.html" rel="nofollow">http://today.java.net/pub/a/today/2008/07/31/return-type-based-method-overloading.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: William (AKA Rosencrantz)</title>
		<link>http://webmoli.com/2008/08/02/why-multiple-inheritance-is-not-allowed-in-java/#comment-99</link>
		<dc:creator><![CDATA[William (AKA Rosencrantz)]]></dc:creator>
		<pubDate>Sun, 03 Aug 2008 00:00:07 +0000</pubDate>
		<guid isPermaLink="false">http://venkatsadasivam.wordpress.com/?p=89#comment-99</guid>
		<description><![CDATA[Hi Venkat Sadasivam, (Just in case you don&#039;t get my message on Wikianswers)

I read over your answer on your site, and its great! You know you can add your answer to the existing one, since not many read the discussion page, I would hate for people to skim over your amazing answer. Also, I would like to invite you to help contribute more to this section and Wikianswers as a whole since your answers (on your site) are amazing.

Sincerely,
Rosencrantz
Java Section Supervisor]]></description>
		<content:encoded><![CDATA[<p>Hi Venkat Sadasivam, (Just in case you don&#8217;t get my message on Wikianswers)</p>
<p>I read over your answer on your site, and its great! You know you can add your answer to the existing one, since not many read the discussion page, I would hate for people to skim over your amazing answer. Also, I would like to invite you to help contribute more to this section and Wikianswers as a whole since your answers (on your site) are amazing.</p>
<p>Sincerely,<br />
Rosencrantz<br />
Java Section Supervisor</p>
]]></content:encoded>
	</item>
</channel>
</rss>

