<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Adz's Den</title>
		<link>http://adarzh.youneed.us/feed/?</link>
		<description>Latest topics</description>
		<lastBuildDate>Sun, 26 Apr 2009 02:48:21 GMT</lastBuildDate>
		<ttl>10</ttl>
		<image>
			<title>Adz's Den</title>
			<url>http://illiweb.com/fa/empty.gif</url>
			<link>http://adarzh.youneed.us/feed/?</link>
		</image>
		<item>
			<title>Diagonal Matrix</title>
			<link>http://adarzh.youneed.us/java-source-codes-f1/diagonal-matrix-t5.htm</link>
			<dc:creator>Adarzh</dc:creator>
			<description>This program will calculate the sum of diagonal elements in a matrix



Code:

public class DiagonalMatrix

&#123;

    public static void main&#40;String&#91;&#93; args&#41;

    &#123;

        int val = 1;

        int&#91;&#93;&#91;&#93; td = new int&#91;6&#93;&#91;6&#93;;

        for&#40;int i = 0; i &lt;5; i++&#41;

        &#123;

            for&#40;int  ...</description>
			<category>Java Source Codes</category>
			<pubDate>Fri, 16 Jan 2009 11:29:48 GMT</pubDate>
			<comments>http://adarzh.youneed.us/java-source-codes-f1/diagonal-matrix-t5.htm#5</comments>
			<guid>http://adarzh.youneed.us/java-source-codes-f1/diagonal-matrix-t5.htm</guid>
		</item>
		<item>
			<title>ArrayList Usage</title>
			<link>http://adarzh.youneed.us/java-source-codes-f1/arraylist-usage-t6.htm</link>
			<dc:creator>Adarzh</dc:creator>
			<description>An ArrayList is another collection implementation.



Code:

import java.util.ArrayList;



public class ArrayListToArray

&#123;

    public static void main&#40;String&#91;&#93; args&#41;

    &#123;

        ArrayList al = new ArrayList&#40;&#41;;



        //Add Elements

        al.add&#40;new Integer&#40;1&#41;&#41;;

        al.add&#40;new Integer&#40;10&#41;&#41;;

   ...</description>
			<category>Java Source Codes</category>
			<pubDate>Sun, 26 Apr 2009 02:48:21 GMT</pubDate>
			<comments>http://adarzh.youneed.us/java-source-codes-f1/arraylist-usage-t6.htm#6</comments>
			<guid>http://adarzh.youneed.us/java-source-codes-f1/arraylist-usage-t6.htm</guid>
		</item>
		<item>
			<title>Command Line Arguments</title>
			<link>http://adarzh.youneed.us/java-source-codes-f1/command-line-arguments-t4.htm</link>
			<dc:creator>Adarzh</dc:creator>
			<description>This program accepts command line arguments and it will print them



Code:

public class CommandLine

&#123;

    public static void main&#40;String&#91;&#93; args&#41;

    &#123;

        System.out.println&#40;&quot;Arguments are&quot;&#41;;

        for&#40;int i = 0; i&lt;args.length; i++&#41;

        &#123;

            System.out.println&#40;args&#91;i&#93;&#41;;

   ...</description>
			<category>Java Source Codes</category>
			<pubDate>Fri, 16 Jan 2009 07:32:53 GMT</pubDate>
			<comments>http://adarzh.youneed.us/java-source-codes-f1/command-line-arguments-t4.htm#4</comments>
			<guid>http://adarzh.youneed.us/java-source-codes-f1/command-line-arguments-t4.htm</guid>
		</item>
		<item>
			<title>Addition Program</title>
			<link>http://adarzh.youneed.us/java-source-codes-f1/addition-program-t3.htm</link>
			<dc:creator>Adarzh</dc:creator>
			<description>This program add two numbers



Code:

class Addition

&#123;

     public static void main&#40;String&#91;&#93; args&#41;

     &#123;

           int a = 10;

           int b = 20;

           int c = a + b;



           System.out.println&#40;&quot;Sum of &quot; + a + &quot; and b is &#58; &quot; + c&#41;;

     &#125;

&#125;

 </description>
			<category>Java Source Codes</category>
			<pubDate>Mon, 22 Dec 2008 16:58:15 GMT</pubDate>
			<comments>http://adarzh.youneed.us/java-source-codes-f1/addition-program-t3.htm#3</comments>
			<guid>http://adarzh.youneed.us/java-source-codes-f1/addition-program-t3.htm</guid>
		</item>
		<item>
			<title>Hello World</title>
			<link>http://adarzh.youneed.us/java-source-codes-f1/hello-world-t2.htm</link>
			<dc:creator>Adarzh</dc:creator>
			<description><![CDATA[This is a Hello World Program
<br />

<br />
<dl class="codebox"><dt>Code:</dt><dd><code>
<br />
class HelloWorld
<br />
&#123;
<br />
         public static void main&#40;String&#91;&#93; args&#41;
<br />
         &#123;
<br />
                System.out.println&#40;&quot;Hello World&quot;&#41;;
<br />
         &#125;
<br />
&#125;
<br />
</code></dd></dl>]]></description>
			<category>Java Source Codes</category>
			<pubDate>Mon, 22 Dec 2008 05:42:33 GMT</pubDate>
			<comments>http://adarzh.youneed.us/java-source-codes-f1/hello-world-t2.htm#2</comments>
			<guid>http://adarzh.youneed.us/java-source-codes-f1/hello-world-t2.htm</guid>
		</item>
	</channel>
</rss>