<?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: Java Tutorial 04 &#8211; Control Structures</title>
	<atom:link href="http://www.20papercups.net/java-vtm-tutorials/java-vtm04-control-structures/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.20papercups.net/java-vtm-tutorials/java-vtm04-control-structures/</link>
	<description>The (awesome) website of Michael Marner</description>
	<lastBuildDate>Mon, 30 Aug 2010 14:05:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Michael</title>
		<link>http://www.20papercups.net/java-vtm-tutorials/java-vtm04-control-structures/comment-page-1/#comment-295</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Sun, 14 Feb 2010 08:06:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.20papercups.net/?p=78#comment-295</guid>
		<description>Yes

If you have a look in the errata page, I&#039;ve given some code that uses Scanner. Back in the pre Java 1.5 days, Scanner didn&#039;t exist, and it was a bit of a pain to read from the keyboard.

Cheers
Michael</description>
		<content:encoded><![CDATA[<p>Yes</p>
<p>If you have a look in the errata page, I&#8217;ve given some code that uses Scanner. Back in the pre Java 1.5 days, Scanner didn&#8217;t exist, and it was a bit of a pain to read from the keyboard.</p>
<p>Cheers<br />
Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: azuro</title>
		<link>http://www.20papercups.net/java-vtm-tutorials/java-vtm04-control-structures/comment-page-1/#comment-294</link>
		<dc:creator>azuro</dc:creator>
		<pubDate>Sat, 13 Feb 2010 08:32:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.20papercups.net/?p=78#comment-294</guid>
		<description>You can import the Scanner from java.util.Scanner</description>
		<content:encoded><![CDATA[<p>You can import the Scanner from java.util.Scanner</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.20papercups.net/java-vtm-tutorials/java-vtm04-control-structures/comment-page-1/#comment-265</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 10 Dec 2009 00:15:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.20papercups.net/?p=78#comment-265</guid>
		<description>Can you post your code?</description>
		<content:encoded><![CDATA[<p>Can you post your code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kendal Wilson</title>
		<link>http://www.20papercups.net/java-vtm-tutorials/java-vtm04-control-structures/comment-page-1/#comment-263</link>
		<dc:creator>Kendal Wilson</dc:creator>
		<pubDate>Wed, 09 Dec 2009 23:55:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.20papercups.net/?p=78#comment-263</guid>
		<description>Hi Michael,

I am going along with your tutorials and I get to the part when you write out 

System.out.println(&quot;Please enter an int&quot;);

I do it for all of them and it compiles fine but it does not print out the statements. Can you help?</description>
		<content:encoded><![CDATA[<p>Hi Michael,</p>
<p>I am going along with your tutorials and I get to the part when you write out </p>
<p>System.out.println(&#8220;Please enter an int&#8221;);</p>
<p>I do it for all of them and it compiles fine but it does not print out the statements. Can you help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johnny</title>
		<link>http://www.20papercups.net/java-vtm-tutorials/java-vtm04-control-structures/comment-page-1/#comment-121</link>
		<dc:creator>Johnny</dc:creator>
		<pubDate>Thu, 02 Jul 2009 13:22:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.20papercups.net/?p=78#comment-121</guid>
		<description>THANK YOU!!!

I went crazy!
Hope it&#039;s the last of my questions :)

You honestly ROCK!

Thanks again.</description>
		<content:encoded><![CDATA[<p>THANK YOU!!!</p>
<p>I went crazy!<br />
Hope it&#8217;s the last of my questions <img src='http://www.20papercups.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>You honestly ROCK!</p>
<p>Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.20papercups.net/java-vtm-tutorials/java-vtm04-control-structures/comment-page-1/#comment-120</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 02 Jul 2009 11:53:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.20papercups.net/?p=78#comment-120</guid>
		<description>Hey Johnny

Make sure that the file is called &lt;strong&gt;K&lt;/strong&gt;eyboard.java, with a capital K. I think when I uploaded the file wordpress converted the filename to all lower case. It must have a capital K for Keyboard.

Hope that helps
Michael</description>
		<content:encoded><![CDATA[<p>Hey Johnny</p>
<p>Make sure that the file is called <strong>K</strong>eyboard.java, with a capital K. I think when I uploaded the file wordpress converted the filename to all lower case. It must have a capital K for Keyboard.</p>
<p>Hope that helps<br />
Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johnny</title>
		<link>http://www.20papercups.net/java-vtm-tutorials/java-vtm04-control-structures/comment-page-1/#comment-118</link>
		<dc:creator>Johnny</dc:creator>
		<pubDate>Thu, 02 Jul 2009 10:11:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.20papercups.net/?p=78#comment-118</guid>
		<description>HELP!!!

Hi Michael,

Great tutorials. I&#039;ve done great so far, until no.4.
For some reason when i try to compile (c:\java&gt;javac *.java) i get this:

&quot;Keyboard.java:19: class Keyboard is public, should be declared in a file named Keyboard.java
public abstract class Keyboard {
                      ^
1 error&quot;

What went wrong?... i&#039;ve looked at the file, and gone over everything more than twice, but didn&#039;t know what to do.

Please help me, i&#039;m stuck for now.

This is what i wrote in notepad++:


public class KeyboardTest {

	public static void main(String[] args) {
	
		int testInt;
		double testDouble;
		char testChar;
		String testString;
		
		System.out.println(&quot;Please enter a int:&quot;);
		testInt = Keyboard.readInt();
		
		System.out.println(&quot;Please enter a double:&quot;);
		testDouble = Keyboard.readDouble();
		
		System.out.println(&quot;Please enter a char:&quot;);
		testChar = Keyboard.readChar();
		
		System.out.println(&quot;Please enter a string:&quot;);
		testString = Keyboard.readLine();
		
		System.out.println(&quot;The int you entered was&quot; + testInt);
		System.out.println(&quot;The double you entered was&quot; + testDouble);
		System.out.println(&quot;The char you entered was&quot; + testChar);
		System.out.println(&quot;The string you entered was&quot; + testString);
		
		
	}

}                   

(I used the &quot;Keyboard.java&quot; file you gave)</description>
		<content:encoded><![CDATA[<p>HELP!!!</p>
<p>Hi Michael,</p>
<p>Great tutorials. I&#8217;ve done great so far, until no.4.<br />
For some reason when i try to compile (c:\java&gt;javac *.java) i get this:</p>
<p>&#8220;Keyboard.java:19: class Keyboard is public, should be declared in a file named Keyboard.java<br />
public abstract class Keyboard {<br />
                      ^<br />
1 error&#8221;</p>
<p>What went wrong?&#8230; i&#8217;ve looked at the file, and gone over everything more than twice, but didn&#8217;t know what to do.</p>
<p>Please help me, i&#8217;m stuck for now.</p>
<p>This is what i wrote in notepad++:</p>
<p>public class KeyboardTest {</p>
<p>	public static void main(String[] args) {</p>
<p>		int testInt;<br />
		double testDouble;<br />
		char testChar;<br />
		String testString;</p>
<p>		System.out.println(&#8220;Please enter a int:&#8221;);<br />
		testInt = Keyboard.readInt();</p>
<p>		System.out.println(&#8220;Please enter a double:&#8221;);<br />
		testDouble = Keyboard.readDouble();</p>
<p>		System.out.println(&#8220;Please enter a char:&#8221;);<br />
		testChar = Keyboard.readChar();</p>
<p>		System.out.println(&#8220;Please enter a string:&#8221;);<br />
		testString = Keyboard.readLine();</p>
<p>		System.out.println(&#8220;The int you entered was&#8221; + testInt);<br />
		System.out.println(&#8220;The double you entered was&#8221; + testDouble);<br />
		System.out.println(&#8220;The char you entered was&#8221; + testChar);<br />
		System.out.println(&#8220;The string you entered was&#8221; + testString);</p>
<p>	}</p>
<p>}                   </p>
<p>(I used the &#8220;Keyboard.java&#8221; file you gave)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dana</title>
		<link>http://www.20papercups.net/java-vtm-tutorials/java-vtm04-control-structures/comment-page-1/#comment-109</link>
		<dc:creator>Dana</dc:creator>
		<pubDate>Wed, 13 May 2009 17:42:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.20papercups.net/?p=78#comment-109</guid>
		<description>Michael,
I&#039;m brand new to Java and having to come up to speed fast to write a plug-in for an existing software package.  The plug-in will translate .csv files to an XML-like format, called MXML.  Your tutorial is super!  Thanks, from another drummer.
Dana</description>
		<content:encoded><![CDATA[<p>Michael,<br />
I&#8217;m brand new to Java and having to come up to speed fast to write a plug-in for an existing software package.  The plug-in will translate .csv files to an XML-like format, called MXML.  Your tutorial is super!  Thanks, from another drummer.<br />
Dana</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.20papercups.net/java-vtm-tutorials/java-vtm04-control-structures/comment-page-1/#comment-102</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Wed, 15 Apr 2009 02:36:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.20papercups.net/?p=78#comment-102</guid>
		<description>You can generate it yourself:

&lt;code&gt;javadoc Keyboard.java&lt;/code&gt;

At the command prompt.

Cheers
Michael</description>
		<content:encoded><![CDATA[<p>You can generate it yourself:</p>
<p><code>javadoc Keyboard.java</code></p>
<p>At the command prompt.</p>
<p>Cheers<br />
Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Conrad</title>
		<link>http://www.20papercups.net/java-vtm-tutorials/java-vtm04-control-structures/comment-page-1/#comment-101</link>
		<dc:creator>Conrad</dc:creator>
		<pubDate>Tue, 14 Apr 2009 13:15:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.20papercups.net/?p=78#comment-101</guid>
		<description>Thanks. Please tell me where i can download the javadoc you are talking about in this video.</description>
		<content:encoded><![CDATA[<p>Thanks. Please tell me where i can download the javadoc you are talking about in this video.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
