<?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: A Java Puzzle</title>
	<atom:link href="http://www.mythoughtpot.com/2008/07/23/a-java-puzzle/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mythoughtpot.com/2008/07/23/a-java-puzzle/</link>
	<description>Thoughts of a constantly evolving programmer</description>
	<lastBuildDate>Fri, 11 Jun 2010 00:45:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Parik</title>
		<link>http://www.mythoughtpot.com/2008/07/23/a-java-puzzle/comment-page-1/#comment-31</link>
		<dc:creator>Parik</dc:creator>
		<pubDate>Fri, 05 Sep 2008 22:12:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.mythoughtpot.com/?p=25#comment-31</guid>
		<description>Followed your post from your comment :) Interesting insight. 
Look at the following code:
 List t = new ArrayList();
	       t.add(1);
	       t.add(2);
	       System.out.println(&quot;Size of set = &quot; + t.indexOf(2));

In here the output is :
&quot;Size of set = 1&quot;

What could be an explanation for this?</description>
		<content:encoded><![CDATA[<p>Followed your post from your comment <img src='http://www.mythoughtpot.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Interesting insight.<br />
Look at the following code:<br />
 List t = new ArrayList();<br />
	       t.add(1);<br />
	       t.add(2);<br />
	       System.out.println(&#8220;Size of set = &#8221; + t.indexOf(2));</p>
<p>In here the output is :<br />
&#8220;Size of set = 1&#8243;</p>
<p>What could be an explanation for this?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
