<?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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SCJP Certification &#187; code</title>
	<atom:link href="http://www.scjp-certification.com/tag/code/feed" rel="self" type="application/rss+xml" />
	<link>http://www.scjp-certification.com</link>
	<description>Sun Certified Java Programmer Certification exam essentials</description>
	<lastBuildDate>Fri, 30 Sep 2011 05:54:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>What will be the result while compiling and running the code?</title>
		<link>http://www.scjp-certification.com/what-will-be-the-result-while-compiing-and-running-the-code.html</link>
		<comments>http://www.scjp-certification.com/what-will-be-the-result-while-compiing-and-running-the-code.html#comments</comments>
		<pubDate>Mon, 16 Nov 2009 11:56:26 +0000</pubDate>
		<dc:creator>Daisy Williams</dc:creator>
				<category><![CDATA[Java Questions]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[EnumSet]]></category>
		<category><![CDATA[exam guide]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[set]]></category>
		<category><![CDATA[study guide]]></category>

		<guid isPermaLink="false">http://www.scjp-certification.com/?p=411</guid>
		<description><![CDATA[import java.util.EnumSet; public final class EnumMeg { public static void main(String[] args) { Integer i = null; method(i); } static...]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.scjp-certification.com%2Fwhat-will-be-the-result-while-compiing-and-running-the-code.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.scjp-certification.com%2Fwhat-will-be-the-result-while-compiing-and-running-the-code.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>import java.util.<strong><a href="http://www.scjp-certification.com/what-is-the-java-util-enumset-set.html">EnumSet</a></strong>;<br />
public final class EnumMeg<br />
                     {<br />
      public static void main(String[] args)<br />
      {<br />
           Integer i = null;<br />
           method(i);<br />
     }<br />
     static void method(int k){<br />
          System.out.println(k);<br />
     }<br />
}</p>
<p>It will compile but will throw a NullPointerException at runtime.   </p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.scjp-certification.com%2Fwhat-will-be-the-result-while-compiing-and-running-the-code.html&amp;title=What%20will%20be%20the%20result%20while%20compiling%20and%20running%20the%20code%3F"><img src="http://www.scjp-certification.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.scjp-certification.com/what-will-be-the-result-while-compiing-and-running-the-code.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What will be the ouput of the following program?</title>
		<link>http://www.scjp-certification.com/what-will-be-the-ouput-of-the-following-program.html</link>
		<comments>http://www.scjp-certification.com/what-will-be-the-ouput-of-the-following-program.html#comments</comments>
		<pubDate>Tue, 10 Nov 2009 12:18:58 +0000</pubDate>
		<dc:creator>Daisy Williams</dc:creator>
				<category><![CDATA[Java Facts]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[constructor]]></category>
		<category><![CDATA[exam]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[static]]></category>

		<guid isPermaLink="false">http://www.scjp-certification.com/?p=397</guid>
		<description><![CDATA[class box { int height; int weight; box( int a, int b) { height=a; weight=b; System.out.println(height); System.out.println(weight); } } class...]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.scjp-certification.com%2Fwhat-will-be-the-ouput-of-the-following-program.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.scjp-certification.com%2Fwhat-will-be-the-ouput-of-the-following-program.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>class box<br />
 {<br />
    int height;<br />
    int weight;</p>
<p>     box( int a, int b)<br />
       {<br />
         height=a;<br />
         weight=b;<br />
          System.out.println(height);<br />
          System.out.println(weight);<br />
        }</p>
<p> }</p>
<p>class Box2<br />
 {<br />
   public static void main(String args[])<br />
     {<br />
       Box2 b2=new box();<br />
     }<br />
  }</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.scjp-certification.com%2Fwhat-will-be-the-ouput-of-the-following-program.html&amp;title=What%20will%20be%20the%20ouput%20of%20the%20following%20program%3F"><img src="http://www.scjp-certification.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.scjp-certification.com/what-will-be-the-ouput-of-the-following-program.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

