<?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><![CDATA[Catnap - Java codes]]></title><link><![CDATA[http://www.catnap.co.uk/java-codes]]></link><description><![CDATA[Java codes]]></description><pubDate>Mon, 20 Apr 2020 08:02:49 -0700</pubDate><generator>Weebly</generator><item><title><![CDATA[Java Muses]]></title><link><![CDATA[http://www.catnap.co.uk/java-codes/java-muses]]></link><comments><![CDATA[http://www.catnap.co.uk/java-codes/java-muses#comments]]></comments><pubDate>Thu, 04 Aug 2011 00:00:40 GMT</pubDate><category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://www.catnap.co.uk/java-codes/java-muses</guid><description><![CDATA[Coding examplesCapturing import java.io.*;  public class read_a_string {     &nbsp;&nbsp;&nbsp; public static void main (String[] args) {        &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; System.out.print("Please enter your name: ");        &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; BufferedReader br = new BufferedReader(new InputStreamReader(System.in));        &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; String strName = null;        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; try {          &nbsp;&nbsp;&nbsp;  [...] ]]></description><content:encoded><![CDATA[<div  class="paragraph editable-text" style=" text-align: left; ">Coding examples<br>Capturing <br><br><span></span>import java.io.*;  <br><span></span><span></span>public class read_a_string {     <br>&nbsp;&nbsp;&nbsp; public static void main (String[] args) {        <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; System.out.print("Please enter your name: ");        <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; BufferedReader br = new BufferedReader(new InputStreamReader(System.in));        <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; String strName = null;        <br><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>try {          <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; strName = br.readLine();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; catch (IOException ioe) {          <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; System.out.println("I had a problem reading your name");          <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; System.exit(1);       <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }        <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; System.out.println("Hello there " + strName);<br>&nbsp;&nbsp;&nbsp; }  <br><span></span>}<br style=""><span style=""></span><span style=""></span></div>  ]]></content:encoded></item><item><title><![CDATA[Post Zero]]></title><link><![CDATA[http://www.catnap.co.uk/java-codes/post-zero]]></link><comments><![CDATA[http://www.catnap.co.uk/java-codes/post-zero#comments]]></comments><pubDate>Wed, 30 Mar 2011 07:12:28 GMT</pubDate><category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://www.catnap.co.uk/java-codes/post-zero</guid><description><![CDATA[Not using this feature to its fullest, will possibly do so some time in the future though.   [...] ]]></description><content:encoded><![CDATA[<div  class="paragraph editable-text" style=" text-align: left; ">Not using this feature to its fullest, will possibly do so some time in the future though.<span></span><br /></div>  ]]></content:encoded></item></channel></rss>