<?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"
	>
<channel>
	<title>Comments on: Say &#8220;Hello World!&#8221; Without Main Method in Java</title>
	<atom:link href="http://www.cavdar.net/2008/07/26/say-hello-world-without-main-method-in-java/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cavdar.net/2008/07/26/say-hello-world-without-main-method-in-java/</link>
	<description>Tech, Internet, Engineering and Life Blog</description>
	<pubDate>Mon, 01 Dec 2008 23:57:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Abdullah Cetin CAVDAR</title>
		<link>http://www.cavdar.net/2008/07/26/say-hello-world-without-main-method-in-java/#comment-112</link>
		<dc:creator>Abdullah Cetin CAVDAR</dc:creator>
		<pubDate>Thu, 16 Oct 2008 05:58:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.cavdar.net/?p=138#comment-112</guid>
		<description>Hi kajastancos,

I run it for Windows, Fedora Linux and Sun Solaris operating systems without any modification and any problem. I checked it once more for you.

Thanks for your comment and interest.</description>
		<content:encoded><![CDATA[<p>Hi kajastancos,</p>
<p>I run it for Windows, Fedora Linux and Sun Solaris operating systems without any modification and any problem. I checked it once more for you.</p>
<p>Thanks for your comment and interest.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kajastancos</title>
		<link>http://www.cavdar.net/2008/07/26/say-hello-world-without-main-method-in-java/#comment-111</link>
		<dc:creator>kajastancos</dc:creator>
		<pubDate>Wed, 15 Oct 2008 19:59:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.cavdar.net/?p=138#comment-111</guid>
		<description>your code is a bit buggy, please test on several different platforms, before posting, kthxbye 

package net.cavdar.staticinitializer;

/**
 * Says "Hello World!" without main method. A simple use of
 * static initialisation.
 *  
 * @author accavdar
 */
public class HelloWorldWithoutMain {
	static {
		System.out.println("Hello World!");
                // you need the next line to avoid ClassNotFoundException
                new HelloWorldWithoutMain();
		System.exit(0);	// prevents "main method not found" error
	}
}</description>
		<content:encoded><![CDATA[<p>your code is a bit buggy, please test on several different platforms, before posting, kthxbye </p>
<p>package net.cavdar.staticinitializer;</p>
<p>/**<br />
 * Says &#8220;Hello World!&#8221; without main method. A simple use of<br />
 * static initialisation.<br />
 *<br />
 * @author accavdar<br />
 */<br />
public class HelloWorldWithoutMain {<br />
	static {<br />
		System.out.println(&#8221;Hello World!&#8221;);<br />
                // you need the next line to avoid ClassNotFoundException<br />
                new HelloWorldWithoutMain();<br />
		System.exit(0);	// prevents &#8220;main method not found&#8221; error<br />
	}<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kamal</title>
		<link>http://www.cavdar.net/2008/07/26/say-hello-world-without-main-method-in-java/#comment-71</link>
		<dc:creator>Kamal</dc:creator>
		<pubDate>Fri, 29 Aug 2008 06:01:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.cavdar.net/?p=138#comment-71</guid>
		<description>Yes, you can print this. But static initializer is useful for initializing resources/variables shared by all instances of a class.</description>
		<content:encoded><![CDATA[<p>Yes, you can print this. But static initializer is useful for initializing resources/variables shared by all instances of a class.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tugrul</title>
		<link>http://www.cavdar.net/2008/07/26/say-hello-world-without-main-method-in-java/#comment-65</link>
		<dc:creator>tugrul</dc:creator>
		<pubDate>Wed, 27 Aug 2008 12:58:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.cavdar.net/?p=138#comment-65</guid>
		<description>just like old procedural languages 
good old days!!</description>
		<content:encoded><![CDATA[<p>just like old procedural languages<br />
good old days!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abdullah Cetin CAVDAR</title>
		<link>http://www.cavdar.net/2008/07/26/say-hello-world-without-main-method-in-java/#comment-48</link>
		<dc:creator>Abdullah Cetin CAVDAR</dc:creator>
		<pubDate>Tue, 19 Aug 2008 15:52:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.cavdar.net/?p=138#comment-48</guid>
		<description>What is the problem Abhi?</description>
		<content:encoded><![CDATA[<p>What is the problem Abhi?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abhi</title>
		<link>http://www.cavdar.net/2008/07/26/say-hello-world-without-main-method-in-java/#comment-47</link>
		<dc:creator>abhi</dc:creator>
		<pubDate>Tue, 19 Aug 2008 12:41:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.cavdar.net/?p=138#comment-47</guid>
		<description>It doesn't work ! :)</description>
		<content:encoded><![CDATA[<p>It doesn&#8217;t work ! <img src='http://www.cavdar.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abdullah Cetin CAVDAR</title>
		<link>http://www.cavdar.net/2008/07/26/say-hello-world-without-main-method-in-java/#comment-18</link>
		<dc:creator>Abdullah Cetin CAVDAR</dc:creator>
		<pubDate>Sun, 27 Jul 2008 10:06:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.cavdar.net/?p=138#comment-18</guid>
		<description>Here, I use the traditional “Hello World” example to demonstrate the usage of “static initializer blocks”. More meaningful and detailed example can be found in the link below:

&lt;a href="http://www.developer.com/java/other/article.php/2238491" title="The Essence of OOP using Java, Static Initializer Blocks" rel="nofollow"&gt;The Essence of OOP using Java, Static Initializer Blocks&lt;/a&gt;

Thank you all for your nice comments. :D</description>
		<content:encoded><![CDATA[<p>Here, I use the traditional “Hello World” example to demonstrate the usage of “static initializer blocks”. More meaningful and detailed example can be found in the link below:</p>
<p><a href="http://www.developer.com/java/other/article.php/2238491" title="The Essence of OOP using Java, Static Initializer Blocks" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/www.developer.com');">The Essence of OOP using Java, Static Initializer Blocks</a></p>
<p>Thank you all for your nice comments. <img src='http://www.cavdar.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Veera</title>
		<link>http://www.cavdar.net/2008/07/26/say-hello-world-without-main-method-in-java/#comment-16</link>
		<dc:creator>Veera</dc:creator>
		<pubDate>Sun, 27 Jul 2008 02:01:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.cavdar.net/?p=138#comment-16</guid>
		<description>Nice trick!</description>
		<content:encoded><![CDATA[<p>Nice trick!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nice trick</title>
		<link>http://www.cavdar.net/2008/07/26/say-hello-world-without-main-method-in-java/#comment-15</link>
		<dc:creator>Nice trick</dc:creator>
		<pubDate>Sat, 26 Jul 2008 19:59:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.cavdar.net/?p=138#comment-15</guid>
		<description>Trick is nice but what are you trying to preach; can it ever be used in real life scenario.</description>
		<content:encoded><![CDATA[<p>Trick is nice but what are you trying to preach; can it ever be used in real life scenario.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: onotole</title>
		<link>http://www.cavdar.net/2008/07/26/say-hello-world-without-main-method-in-java/#comment-14</link>
		<dc:creator>onotole</dc:creator>
		<pubDate>Sat, 26 Jul 2008 13:02:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.cavdar.net/?p=138#comment-14</guid>
		<description>[:&#124;&#124;&#124;:]</description>
		<content:encoded><![CDATA[<p>[:|||:]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
