<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/java/tags/learning</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 20 Jun 2013 09:14:40 GMT</pubDate>
<item>
<title>(Java) Robot.java - joshnunn</title>
<link>http://snipplr.com/view/18237/robotjava/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 13 Aug 2009 00:59:48 GMT</pubDate>
<guid>http://snipplr.com/view/18237/robotjava/</guid>
</item>
<item>
<title>(Java) RectangleTest.java - joshnunn</title>
<link>http://snipplr.com/view/18226/rectangletestjava/</link>
<description><![CDATA[ <p>This is a test driver class. It instantiates a few rectangles with varying lengths and widths and then prints their areas and perimeters.

What is odd is the output I get from NetBeans for the "stupid" rectangle. The program prints its value as "1280.3200000000002".</p> ]]></description>
<pubDate>Wed, 12 Aug 2009 18:14:27 GMT</pubDate>
<guid>http://snipplr.com/view/18226/rectangletestjava/</guid>
</item>
<item>
<title>(Java) Rectangle.java - joshnunn</title>
<link>http://snipplr.com/view/18225/rectanglejava/</link>
<description><![CDATA[ <p>This is a program to implement a Rectangle. Private fields record the length and width and methods calculate the area and perimeter. It sets a default length and width if one is not given.</p> ]]></description>
<pubDate>Wed, 12 Aug 2009 18:10:56 GMT</pubDate>
<guid>http://snipplr.com/view/18225/rectanglejava/</guid>
</item>
<item>
<title>(Java) Tomatoes.java - joshnunn</title>
<link>http://snipplr.com/view/17801/tomatoesjava/</link>
<description><![CDATA[ <p>A farmer has a small field that is 124 metres by 332 metres. The farmer wants to plant tomatoes in his field.  It is possible to put 5 plants in every square metre.  Each plant costs 95cents.  Write a small program that calculates the number of plants that will go into the field and the resulting cost.</p> ]]></description>
<pubDate>Sun, 02 Aug 2009 08:21:54 GMT</pubDate>
<guid>http://snipplr.com/view/17801/tomatoesjava/</guid>
</item>
</channel>
</rss>