<?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/"
		>
<channel>
	<title>Comments on: Learn This: When to use an Abstract Class and an Interface</title>
	<atom:link href="http://codeofdoom.com/wordpress/2009/02/12/learn-this-when-to-use-an-abstract-class-and-an-interface/feed/" rel="self" type="application/rss+xml" />
	<link>http://codeofdoom.com/wordpress/2009/02/12/learn-this-when-to-use-an-abstract-class-and-an-interface/</link>
	<description></description>
	<lastBuildDate>Sun, 29 Jan 2012 03:53:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Anonymous</title>
		<link>http://codeofdoom.com/wordpress/2009/02/12/learn-this-when-to-use-an-abstract-class-and-an-interface/comment-page-2/#comment-672</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Sat, 28 Jan 2012 15:08:53 +0000</pubDate>
		<guid isPermaLink="false">http://codeofdoom.com/wordpress/?p=146#comment-672</guid>
		<description>Awesome article !!!</description>
		<content:encoded><![CDATA[<p>Awesome article !!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thor</title>
		<link>http://codeofdoom.com/wordpress/2009/02/12/learn-this-when-to-use-an-abstract-class-and-an-interface/comment-page-2/#comment-668</link>
		<dc:creator>Thor</dc:creator>
		<pubDate>Sun, 08 Jan 2012 16:31:55 +0000</pubDate>
		<guid isPermaLink="false">http://codeofdoom.com/wordpress/?p=146#comment-668</guid>
		<description>Wish I had read this before my last interview. :) While this is a well known concept and I have done this in projects that I&#039;ve designed / led, I did the classic deer in headlights and &quot;ummm&quot; response to it.  This article is a good refresher and has clear examples.  Thanks for posting it.</description>
		<content:encoded><![CDATA[<p>Wish I had read this before my last interview. <img src='http://codeofdoom.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  While this is a well known concept and I have done this in projects that I&#8217;ve designed / led, I did the classic deer in headlights and &#8220;ummm&#8221; response to it.  This article is a good refresher and has clear examples.  Thanks for posting it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Batman</title>
		<link>http://codeofdoom.com/wordpress/2009/02/12/learn-this-when-to-use-an-abstract-class-and-an-interface/comment-page-2/#comment-667</link>
		<dc:creator>Batman</dc:creator>
		<pubDate>Fri, 06 Jan 2012 08:59:56 +0000</pubDate>
		<guid isPermaLink="false">http://codeofdoom.com/wordpress/?p=146#comment-667</guid>
		<description>I think both should be used at all times.  The abstract class should implement the interface.  This gives the client an option...flexibility.</description>
		<content:encoded><![CDATA[<p>I think both should be used at all times.  The abstract class should implement the interface.  This gives the client an option&#8230;flexibility.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: johndeveloper</title>
		<link>http://codeofdoom.com/wordpress/2009/02/12/learn-this-when-to-use-an-abstract-class-and-an-interface/comment-page-2/#comment-665</link>
		<dc:creator>johndeveloper</dc:creator>
		<pubDate>Thu, 22 Dec 2011 13:22:03 +0000</pubDate>
		<guid isPermaLink="false">http://codeofdoom.com/wordpress/?p=146#comment-665</guid>
		<description>I qet this question ask to me all the time interviewers that all the time. The problem is when the explianation of an interface and abstract class should be good enough.  

When I explain to you that an abstract class can have some its methods implemented and some of them not implemented it means Abstract classes allow you to provide default functionality for the subclasses. 

When I explain to you that I can implement more than one interface means that are there are posiblilties that i do not want to implement both interface hence I would have put all the methods in one interface and not two.

I reason why for the  ‘deer in headlights’ look, is he just told you the differences. He assumes the you are intelligent and the usaged is implied. 

The good thing about this article is I now know how to formulate my answer for an abstract class and interface to answer you next question before you ask it. If you ask it anyway then I know you are asking the question just to ask the question to look intelligent.</description>
		<content:encoded><![CDATA[<p>I qet this question ask to me all the time interviewers that all the time. The problem is when the explianation of an interface and abstract class should be good enough.  </p>
<p>When I explain to you that an abstract class can have some its methods implemented and some of them not implemented it means Abstract classes allow you to provide default functionality for the subclasses. </p>
<p>When I explain to you that I can implement more than one interface means that are there are posiblilties that i do not want to implement both interface hence I would have put all the methods in one interface and not two.</p>
<p>I reason why for the  ‘deer in headlights’ look, is he just told you the differences. He assumes the you are intelligent and the usaged is implied. </p>
<p>The good thing about this article is I now know how to formulate my answer for an abstract class and interface to answer you next question before you ask it. If you ask it anyway then I know you are asking the question just to ask the question to look intelligent.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pk</title>
		<link>http://codeofdoom.com/wordpress/2009/02/12/learn-this-when-to-use-an-abstract-class-and-an-interface/comment-page-2/#comment-662</link>
		<dc:creator>pk</dc:creator>
		<pubDate>Sat, 17 Dec 2011 12:33:35 +0000</pubDate>
		<guid isPermaLink="false">http://codeofdoom.com/wordpress/?p=146#comment-662</guid>
		<description>Interview is a discussion not an interogation</description>
		<content:encoded><![CDATA[<p>Interview is a discussion not an interogation</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramesh</title>
		<link>http://codeofdoom.com/wordpress/2009/02/12/learn-this-when-to-use-an-abstract-class-and-an-interface/comment-page-2/#comment-661</link>
		<dc:creator>Ramesh</dc:creator>
		<pubDate>Sat, 17 Dec 2011 03:27:54 +0000</pubDate>
		<guid isPermaLink="false">http://codeofdoom.com/wordpress/?p=146#comment-661</guid>
		<description>You mentioned you don&#039;t need to change base class if a abstract class is modified. I think the base class will be affected if a abstract class is modified.</description>
		<content:encoded><![CDATA[<p>You mentioned you don&#8217;t need to change base class if a abstract class is modified. I think the base class will be affected if a abstract class is modified.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronald</title>
		<link>http://codeofdoom.com/wordpress/2009/02/12/learn-this-when-to-use-an-abstract-class-and-an-interface/comment-page-2/#comment-660</link>
		<dc:creator>Ronald</dc:creator>
		<pubDate>Sat, 10 Dec 2011 03:27:37 +0000</pubDate>
		<guid isPermaLink="false">http://codeofdoom.com/wordpress/?p=146#comment-660</guid>
		<description>&lt;a href=&quot;#comment-460&quot; rel=&quot;nofollow&quot;&gt;@Anonoymous&lt;/a&gt; 
ha ha,,, u r right Patni Guys  are bit hard, they dont know the real concepts and proof, The same way it happened to me.When i told the Functional part of CMS with livewire publishing and content Editing, i have bypassed the interviewer&#039;s comments which lead to an argument and ultimately i was rejected. The thing is the interviewer also should be smart not like Patni Guys....</description>
		<content:encoded><![CDATA[<p><a href="#comment-460" rel="nofollow">@Anonoymous</a><br />
ha ha,,, u r right Patni Guys  are bit hard, they dont know the real concepts and proof, The same way it happened to me.When i told the Functional part of CMS with livewire publishing and content Editing, i have bypassed the interviewer&#8217;s comments which lead to an argument and ultimately i was rejected. The thing is the interviewer also should be smart not like Patni Guys&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sathiya</title>
		<link>http://codeofdoom.com/wordpress/2009/02/12/learn-this-when-to-use-an-abstract-class-and-an-interface/comment-page-2/#comment-658</link>
		<dc:creator>sathiya</dc:creator>
		<pubDate>Tue, 06 Dec 2011 18:48:46 +0000</pubDate>
		<guid isPermaLink="false">http://codeofdoom.com/wordpress/?p=146#comment-658</guid>
		<description>it is bit confusing...go ahead with MSDN ariticle..really very nice
http://msdn.microsoft.com/en-us/library/scsyfw1d(v=vs.71).aspx</description>
		<content:encoded><![CDATA[<p>it is bit confusing&#8230;go ahead with MSDN ariticle..really very nice<br />
<a href="http://msdn.microsoft.com/en-us/library/scsyfw1d(v=vs.71).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/scsyfw1d(v=vs.71).aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajay</title>
		<link>http://codeofdoom.com/wordpress/2009/02/12/learn-this-when-to-use-an-abstract-class-and-an-interface/comment-page-2/#comment-657</link>
		<dc:creator>Ajay</dc:creator>
		<pubDate>Thu, 01 Dec 2011 21:24:31 +0000</pubDate>
		<guid isPermaLink="false">http://codeofdoom.com/wordpress/?p=146#comment-657</guid>
		<description>Hi,
thanks for your brief description but i didn,t understand the alternative would require up to 2^n (where n is the number of attributes) possible combinations in order to support all possibilities of using abstract class.
thanks</description>
		<content:encoded><![CDATA[<p>Hi,<br />
thanks for your brief description but i didn,t understand the alternative would require up to 2^n (where n is the number of attributes) possible combinations in order to support all possibilities of using abstract class.<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lalit Vats</title>
		<link>http://codeofdoom.com/wordpress/2009/02/12/learn-this-when-to-use-an-abstract-class-and-an-interface/comment-page-2/#comment-656</link>
		<dc:creator>Lalit Vats</dc:creator>
		<pubDate>Wed, 02 Nov 2011 17:46:18 +0000</pubDate>
		<guid isPermaLink="false">http://codeofdoom.com/wordpress/?p=146#comment-656</guid>
		<description>hi,
i think this is the best way to describe both.
thanks</description>
		<content:encoded><![CDATA[<p>hi,<br />
i think this is the best way to describe both.<br />
thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

