<?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; exam guide</title>
	<atom:link href="http://www.scjp-certification.com/tag/exam-guide/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 are the conventions for writing constructors?</title>
		<link>http://www.scjp-certification.com/what-are-the-conventions-for-writing-constructors.html</link>
		<comments>http://www.scjp-certification.com/what-are-the-conventions-for-writing-constructors.html#comments</comments>
		<pubDate>Wed, 02 Dec 2009 11:45:36 +0000</pubDate>
		<dc:creator>Daisy Williams</dc:creator>
				<category><![CDATA[Java Facts]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[constructor]]></category>
		<category><![CDATA[exam guide]]></category>
		<category><![CDATA[strictf]]></category>
		<category><![CDATA[study guide]]></category>
		<category><![CDATA[synchronized]]></category>

		<guid isPermaLink="false">http://www.scjp-certification.com/?p=457</guid>
		<description><![CDATA[A constructor provides a convenient way to initialize a newly created object at the time of its creation. It is...]]></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-are-the-conventions-for-writing-constructors.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.scjp-certification.com%2Fwhat-are-the-conventions-for-writing-constructors.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>A constructor provides a convenient way to initialize a newly created object at the time of its creation. It is defined for a class and it is called automatically immediately after the creation of a new object, but before the new operator completes. All Although constructors look the same as methods, they are written by using the following conventions:
<ol>
<li>A constructor is always given the name of the class in which it is defined.</li>
<li>A constructor is always written without an explicit return type, not even void. This is because the implicit return type of a class constructor is the class itself.</li>
<li> Only accessibility modifiers can be used to declared a constructor. Unlike methods, a constructor cannot be declared as abstract, static, final, native, strictfp, or synchronized.</li>
</ol>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.scjp-certification.com%2Fwhat-are-the-conventions-for-writing-constructors.html&amp;title=What%20are%20the%20conventions%20for%20writing%20constructors%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-are-the-conventions-for-writing-constructors.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is a narrowing conversion?</title>
		<link>http://www.scjp-certification.com/what-is-a-narrowing-conversion.html</link>
		<comments>http://www.scjp-certification.com/what-is-a-narrowing-conversion.html#comments</comments>
		<pubDate>Mon, 30 Nov 2009 11:41:25 +0000</pubDate>
		<dc:creator>Daisy Williams</dc:creator>
				<category><![CDATA[Java Facts]]></category>
		<category><![CDATA[casting]]></category>
		<category><![CDATA[conversion]]></category>
		<category><![CDATA[exam guide]]></category>
		<category><![CDATA[exam questions]]></category>
		<category><![CDATA[free questions]]></category>
		<category><![CDATA[narrowing conversion]]></category>
		<category><![CDATA[study guide]]></category>

		<guid isPermaLink="false">http://www.scjp-certification.com/?p=451</guid>
		<description><![CDATA[A narrowing conversion is an explicit type conversion or casting. It is used when the destination data type is narrower...]]></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-is-a-narrowing-conversion.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.scjp-certification.com%2Fwhat-is-a-narrowing-conversion.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>A narrowing conversion is an explicit type conversion or casting. It is used when the destination data type is narrower than the source data type, an explicit type conversion is required. The general form of this explicit conversion is given below:</p>
<p><strong>(target-type) value</strong></p>
<p>Here, target-type is the desired data type and value is the value to be converted.</p>
<p>For example:</p>
<p><strong> int num1, int num2;<br />
short num3;<br />
num3= (short)(num1+num2);</strong></p>
<p>In the example above, the sum of two 32-bit integer data type variables num1 and num2 is assigned to another variable num3, which is of integer type short (16-bit). Therefore, an explicit conversion takes place before assigning the value to num3. Otherwise, if this explicit type conversion is not performed, and the sum of variables num1 and num2 is directly assigned to variable num3, a compile-time error will be generated.  </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-is-a-narrowing-conversion.html&amp;title=What%20is%20a%20narrowing%20conversion%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-is-a-narrowing-conversion.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prepkit sale on Cyber Monday</title>
		<link>http://www.scjp-certification.com/prepkit-sale-on-cyber-monday.html</link>
		<comments>http://www.scjp-certification.com/prepkit-sale-on-cyber-monday.html#comments</comments>
		<pubDate>Sun, 29 Nov 2009 09:56:56 +0000</pubDate>
		<dc:creator>Daisy Williams</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[discount]]></category>
		<category><![CDATA[exam guide]]></category>
		<category><![CDATA[free questions]]></category>
		<category><![CDATA[sale]]></category>
		<category><![CDATA[SCJP]]></category>
		<category><![CDATA[study guide]]></category>

		<guid isPermaLink="false">http://www.scjp-certification.com/prepkit-sale-on-cyber-monday.html</guid>
		<description><![CDATA[Now days uCertify is announcing discounts on multiple prep-kit purchase. uCertifyâ€™s discount on certifcation kits on this Cyber Monday discount....]]></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%2Fprepkit-sale-on-cyber-monday.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.scjp-certification.com%2Fprepkit-sale-on-cyber-monday.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Now days uCertify is announcing discounts on multiple prep-kit purchase. uCertifyâ€™s discount on certifcation kits on this Cyber Monday discount. Our kits provideâ€™s a strong information over your competition with our top rated exam preparation kits. Buy any three PrepKits for $134.99. uCertify is providing each prepkit withonly $44.99. To add some additonal flavour buy additional PrepKits for only $29.99. Each PrepKit comes with industry Best Money back Gurantee. If you are unable to pass, we will return your money. We provide home and Work license allows you to install PrepKit on two computers. </p>
<p>Just Go and Get the discount sale starts now and ends on Cyber Monday, Nov 30th. To take a glimps e of prepkits click the following link:</p>
<p><a href="http://www.ucertify.com/">uCertify&#8217;s Cyber Monday Sale</a></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.scjp-certification.com%2Fprepkit-sale-on-cyber-monday.html&amp;title=Prepkit%20sale%20on%20Cyber%20Monday"><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/prepkit-sale-on-cyber-monday.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What are the getTime() and setTime() method?</title>
		<link>http://www.scjp-certification.com/what-are-the-gettime-and-settime-method.html</link>
		<comments>http://www.scjp-certification.com/what-are-the-gettime-and-settime-method.html#comments</comments>
		<pubDate>Fri, 27 Nov 2009 11:54:35 +0000</pubDate>
		<dc:creator>Daisy Williams</dc:creator>
				<category><![CDATA[Java Facts]]></category>
		<category><![CDATA[exam guide]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[method]]></category>
		<category><![CDATA[questions]]></category>
		<category><![CDATA[SCJP]]></category>
		<category><![CDATA[study guide]]></category>

		<guid isPermaLink="false">http://www.scjp-certification.com/?p=447</guid>
		<description><![CDATA[getTime(): The getTime() method returns a date/time of the calendar in a Date object. Date objects are stored as an...]]></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-are-the-gettime-and-settime-method.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.scjp-certification.com%2Fwhat-are-the-gettime-and-settime-method.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><strong>getTime():</strong> The getTime() method returns a date/time of the calendar in a Date object. Date objects are stored as an offset in milliseconds. The general form of the getTime() method is as follows: </p>
<p>Date getTime()</p>
<p>e.g. System.out.println(calendar.getTime());</p>
<p><strong>setTime(): </strong>The setTime() method sets the current calendar&#8217;s date/time from the value of the specified date. The general form of the setTime() method is as follows:</p>
<p>void setTime(Date date)</p>
<p>e.g. calendar.setTime(date2);  </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-are-the-gettime-and-settime-method.html&amp;title=What%20are%20the%20getTime%28%29%20and%20setTime%28%29%20method%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-are-the-gettime-and-settime-method.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What will be the output of the following program code?</title>
		<link>http://www.scjp-certification.com/what-will-be-the-output-of-the-following-program-code-2.html</link>
		<comments>http://www.scjp-certification.com/what-will-be-the-output-of-the-following-program-code-2.html#comments</comments>
		<pubDate>Tue, 24 Nov 2009 11:43:54 +0000</pubDate>
		<dc:creator>Daisy Williams</dc:creator>
				<category><![CDATA[Java Questions]]></category>
		<category><![CDATA[exam guide]]></category>
		<category><![CDATA[free question]]></category>
		<category><![CDATA[free questions]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[SCJP]]></category>
		<category><![CDATA[study guide]]></category>

		<guid isPermaLink="false">http://www.scjp-certification.com/?p=440</guid>
		<description><![CDATA[public class Exc { public static void main(String args[]) { int x1=0; try { int x3= 100/x1; } catch(ArithmeticException e)...]]></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-output-of-the-following-program-code-2.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.scjp-certification.com%2Fwhat-will-be-the-output-of-the-following-program-code-2.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>public class Exc<br />
 {<br />
   public static void main(String args[])<br />
     {<br />
       int x1=0;<br />
       try {<br />
           int x3= 100/x1;<br />
          } catch(ArithmeticException e) {<br />
           System.out.println(&#8220;Illegal operation&#8221;);<br />
          } catch(RuntimeException e) {<br />
             System.out.println(&#8220;runtime error&#8221;);<br />
              return;<br />
          } catch(Exception e) {<br />
             System.out.println(&#8220;Exception found&#8221;);<br />
          } finally {<br />
             System.out.println(&#8220;Complete&#8221;);<br />
         }<br />
       System.out.println(&#8220;Successfully&#8221;);<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-output-of-the-following-program-code-2.html&amp;title=What%20will%20be%20the%20output%20of%20the%20following%20program%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-output-of-the-following-program-code-2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What will be the output of the following program code?</title>
		<link>http://www.scjp-certification.com/what-will-be-the-output-of-the-following-program-code.html</link>
		<comments>http://www.scjp-certification.com/what-will-be-the-output-of-the-following-program-code.html#comments</comments>
		<pubDate>Mon, 23 Nov 2009 11:59:31 +0000</pubDate>
		<dc:creator>Daisy Williams</dc:creator>
				<category><![CDATA[Java Questions]]></category>
		<category><![CDATA[break]]></category>
		<category><![CDATA[exam guide]]></category>
		<category><![CDATA[program code]]></category>
		<category><![CDATA[questions]]></category>
		<category><![CDATA[study guide]]></category>
		<category><![CDATA[switch]]></category>

		<guid isPermaLink="false">http://www.scjp-certification.com/?p=437</guid>
		<description><![CDATA[class Ques0357{ public static void main(String[] argv){ int s = 2; switch (s) { case 1: System.out.println(&#8220;Fred&#8221;); break; case 2:...]]></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-output-of-the-following-program-code.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.scjp-certification.com%2Fwhat-will-be-the-output-of-the-following-program-code.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><strong>class Ques0357{<br />
   public static void main(String[] argv){<br />
       int s = 2;<br />
       switch (s) {<br />
          case 1:<br />
               System.out.println(&#8220;Fred&#8221;);<br />
               break;<br />
           case 2:<br />
               System.out.println(&#8220;Fast&#8221;);<br />
           case 3:<br />
               System.out.println(&#8220;Tech&#8221;);<br />
           default:<br />
               System.out.println(&#8220;default&#8221;);<br />
       }<br />
   }<br />
}</strong></p>
<p>The break statement is used inside the code block following the <a href="http://www.scjp-certification.com/the-switch-statement.html">switch</a> statement to terminate the execution of a statement sequence. As soon as a break statement is encountered, the program control is transferred to the first line of code that follows the entire switch statement.</p>
<p>In the given program, the argument to the switch statement is an int value 2. Therefore, the program control will be transferred at the matching case label, i.e., at line number 8. As there is no break statement after line number 7, the execution of the code will continue to fall through and all the statements after line number 8 will be executed. Therefore, the execution of the program will display Fast Tech default as the output. </p>
<p>http://www.scjp-certification.com/what-is-the-for-each-loop.html</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-output-of-the-following-program-code.html&amp;title=What%20will%20be%20the%20output%20of%20the%20following%20program%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-output-of-the-following-program-code.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SUN Java anounces a series of performance tunning certifications.</title>
		<link>http://www.scjp-certification.com/sun-java-anounces-a-series-of-expert-led-workshops.html</link>
		<comments>http://www.scjp-certification.com/sun-java-anounces-a-series-of-expert-led-workshops.html#comments</comments>
		<pubDate>Sat, 21 Nov 2009 12:04:52 +0000</pubDate>
		<dc:creator>Daisy Williams</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[exam]]></category>
		<category><![CDATA[exam guide]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[performance tunning]]></category>
		<category><![CDATA[real problems]]></category>
		<category><![CDATA[study guide]]></category>
		<category><![CDATA[sun]]></category>

		<guid isPermaLink="false">http://www.scjp-certification.com/?p=433</guid>
		<description><![CDATA[Now days SUN announces Java performance tunning certifications. By doing these certification you will learn a blend of tuning methodology,...]]></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%2Fsun-java-anounces-a-series-of-expert-led-workshops.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.scjp-certification.com%2Fsun-java-anounces-a-series-of-expert-led-workshops.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Now days <strong>SUN </strong>announces Java performance tunning certifications. By doing these certification you will learn a blend of tuning methodology, performance theory and practical tips on solving difficult performance problems. </p>
<p>It provides an opportunity to hone your skills on a series of labs that are derived from real problems found during our consulting experience. Freely available or open source and will equip you to immediately apply what you have learned in your workplace. It remove the slow suffering and under performing applications. It provides knowledge to learn how to develop code with performance as the goal and the end user in mind.</p>
<p>To take a look at the course catalog and fee structure click the link below:</p>
<p><strong><a href="http://www.sun.com/training/expert.html?cid=e7795#EXL-2025">http://www.sun.com/training/expert.html?cid=e7795#EXL-2025</a></strong>  </p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.scjp-certification.com%2Fsun-java-anounces-a-series-of-expert-led-workshops.html&amp;title=SUN%20Java%20anounces%20a%20series%20of%20performance%20tunning%20certifications."><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/sun-java-anounces-a-series-of-expert-led-workshops.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ucertify Early Bird discount</title>
		<link>http://www.scjp-certification.com/ucertify-early-bird-discount.html</link>
		<comments>http://www.scjp-certification.com/ucertify-early-bird-discount.html#comments</comments>
		<pubDate>Fri, 20 Nov 2009 11:45:34 +0000</pubDate>
		<dc:creator>Daisy Williams</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[discount]]></category>
		<category><![CDATA[exam]]></category>
		<category><![CDATA[exam guide]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[preperation kit]]></category>
		<category><![CDATA[study guide]]></category>

		<guid isPermaLink="false">http://www.scjp-certification.com/?p=428</guid>
		<description><![CDATA[Just Go and Get the uCertify&#8217;s discount on certifcation kits on this Early Bird discount. Our kits provide&#8217;s a strong...]]></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%2Fucertify-early-bird-discount.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.scjp-certification.com%2Fucertify-early-bird-discount.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Just Go and Get the uCertify&#8217;s discount on certifcation kits on this Early Bird discount. Our kits provide&#8217;s a strong information over your competition with our top rated exam preparation kits. We are providing a powerful learning software with 15% discount on this Halloween day, save 15% in addition to existing sale prices. For getting the discount simply use promotion code HUSH. It is for only first 250 customers. <a href="http://www.ucertify.com/ ">http://www.ucertify.com/ </a>   </p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.scjp-certification.com%2Fucertify-early-bird-discount.html&amp;title=ucertify%20Early%20Bird%20discount"><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/ucertify-early-bird-discount.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How the classpath is searched for a JAR file syntax?</title>
		<link>http://www.scjp-certification.com/how-the-classpath-is-searched-for-a-jar-file-syntax.html</link>
		<comments>http://www.scjp-certification.com/how-the-classpath-is-searched-for-a-jar-file-syntax.html#comments</comments>
		<pubDate>Thu, 19 Nov 2009 12:00:54 +0000</pubDate>
		<dc:creator>Daisy Williams</dc:creator>
				<category><![CDATA[Java Facts]]></category>
		<category><![CDATA[classpath]]></category>
		<category><![CDATA[exam guide]]></category>
		<category><![CDATA[jar]]></category>
		<category><![CDATA[jarfile]]></category>
		<category><![CDATA[study guide]]></category>

		<guid isPermaLink="false">http://www.scjp-certification.com/?p=424</guid>
		<description><![CDATA[While using a JAR file when a directory is specified in the classpath, the files are searched in the directory...]]></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%2Fhow-the-classpath-is-searched-for-a-jar-file-syntax.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.scjp-certification.com%2Fhow-the-classpath-is-searched-for-a-jar-file-syntax.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>While using a <a href="http://www.scjp-certification.com/what-is-a-jar-file.html">JAR</a> file when a directory is specified in the classpath, the files are searched in the directory specified and not in the directories up in the hierarchy. Also, the dot (.) operator means that the files are to be searched in the current directory also. The list of the files in the Windows environment are separated using a semicolon (;). </p>
<p>In the case of the Unix environment, the names of the files are separated using the colon (:) operator. In the command-line, the directory structure is represented using the forward slash (/) in place of the backward slash (\). The semicolon (;) separated list of directories specify the locations to search the files in the specified directories. The files are searched in the directories specified, and not in the directories up in the hierarchy. For example: </p>
<p><strong>-classpath uc\ProgramCodeFiles\MyFiles;uc\JAVAFiles;.;</strong></p>
<p>Here, files will be searched in the current directory, the MyFiles directory, and the JAVAFiles directory. </p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.scjp-certification.com%2Fhow-the-classpath-is-searched-for-a-jar-file-syntax.html&amp;title=How%20the%20classpath%20is%20searched%20for%20a%20JAR%20file%20syntax%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/how-the-classpath-is-searched-for-a-jar-file-syntax.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Constructors</title>
		<link>http://www.scjp-certification.com/constructors.html</link>
		<comments>http://www.scjp-certification.com/constructors.html#comments</comments>
		<pubDate>Tue, 17 Nov 2009 11:47:54 +0000</pubDate>
		<dc:creator>Daisy Williams</dc:creator>
				<category><![CDATA[Java Questions]]></category>
		<category><![CDATA[constructor]]></category>
		<category><![CDATA[exam guide]]></category>
		<category><![CDATA[free question]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[overriden]]></category>
		<category><![CDATA[question]]></category>
		<category><![CDATA[study guide]]></category>
		<category><![CDATA[super]]></category>

		<guid isPermaLink="false">http://www.scjp-certification.com/?p=418</guid>
		<description><![CDATA[If a class Student creates two student objects. Which of the following statements are true about its constructors? A: The...]]></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%2Fconstructors.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.scjp-certification.com%2Fconstructors.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>If a class Student creates two student objects.  Which of the following statements are true about its constructors?</p>
<p> A: The compiler can call to super() in any constructor that has a call to this().<br />
 B: If a constructor is not declared in the code, a default constructor will be automatically generated by the compiler.<br />
 C: Constructors can be overridden.<br />
 D: The compiler cannot call to super() in any constructor that has a call to this()</p>
<p>ANSWERS: </p>
<p>If a  <a href="http://www.scjp-certification.com/what-is-a-constructor-2.html">constructor</a> has a call to this(), the compiler will know that the constructor is not using the call to super(). A constructor can never have both a call to super() and a call to this() because one of these will be used as the first statement in the constructor. The compiler will not put a call to super() that is using a call to this().</p>
<p>If a constructor is not declared in the code, a default constructor will be automatically generated by the compiler. A constructor without any parameters is known as a default constructor. When a class is defined without any constructor, the Java compiler provides an implicit default constructor. </p>
<p>When the implicit default constructor of a class is invoked, it implicitly calls the no parameter constructor in the superclass. This action taken by a default constructor ensures that the inherited state of the object is initialized properly. In addition, it initializes all the instance variables in the object to the default value depending on their data type.</p>
<p>The default constructor of a class has the same access modifier with which the class has been declared. For example, the default constructor of a public class is implicitly given the public access. The default constructor of a protected class is implicitly given the protected access. The default constructor of a private class is implicitly given the private access. Otherwise, the default constructor has the default access implied by no access modifier.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.scjp-certification.com%2Fconstructors.html&amp;title=Constructors"><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/constructors.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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 output of the following program?</title>
		<link>http://www.scjp-certification.com/what-will-be-the-output-of-the-following-program.html</link>
		<comments>http://www.scjp-certification.com/what-will-be-the-output-of-the-following-program.html#comments</comments>
		<pubDate>Thu, 12 Nov 2009 11:53:23 +0000</pubDate>
		<dc:creator>Daisy Williams</dc:creator>
				<category><![CDATA[Java Questions]]></category>
		<category><![CDATA[exam guide]]></category>
		<category><![CDATA[exam questions]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[main]]></category>
		<category><![CDATA[operator]]></category>
		<category><![CDATA[question]]></category>

		<guid isPermaLink="false">http://www.scjp-certification.com/?p=402</guid>
		<description><![CDATA[class Ques{ public static void main (String[] argv){ int p1 = 0102; int p2 = -10; int mod = p1...]]></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-output-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-output-of-the-following-program.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><strong>class Ques{<br />
   public static void main (String[] argv){<br />
       int p1 = 0102;<br />
       int p2 = -10;<br />
       int mod = p1 % p2;<br />
       System.out.println(&#8220;mod = &#8221; +mod);<br />
   }<br />
}</strong>  </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-output-of-the-following-program.html&amp;title=What%20will%20be%20the%20output%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-output-of-the-following-program.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>uCertify&#8217;s upgrade of UML certification paper (OMG-OCUP-100)</title>
		<link>http://www.scjp-certification.com/ucertifys-upgrade-of-uml-certification-paper-omg-ocup-100.html</link>
		<comments>http://www.scjp-certification.com/ucertifys-upgrade-of-uml-certification-paper-omg-ocup-100.html#comments</comments>
		<pubDate>Wed, 04 Nov 2009 12:10:14 +0000</pubDate>
		<dc:creator>Daisy Williams</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[exam]]></category>
		<category><![CDATA[exam guide]]></category>
		<category><![CDATA[exam questions]]></category>
		<category><![CDATA[free questions]]></category>
		<category><![CDATA[ocup]]></category>
		<category><![CDATA[study guide]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[uml]]></category>

		<guid isPermaLink="false">http://www.scjp-certification.com/?p=350</guid>
		<description><![CDATA[uCertify has recently launched its updated simulation software for UM0-100 (OMG-Certified UML Professional). Why this version is different from its...]]></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%2Fucertifys-upgrade-of-uml-certification-paper-omg-ocup-100.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.scjp-certification.com%2Fucertifys-upgrade-of-uml-certification-paper-omg-ocup-100.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>uCertify has recently launched its updated simulation software for UM0-100 (OMG-Certified UML Professional). Why this version is different from its previous versions? The new upgrade version of <a href="http://www.ucertify.com/blog/skill-required-for-omg-ocup-100.html">UM0-100</a> has the following enhancments:
<ol>
<li>It includes the latest uCertify&#8217;s prep-engine.</li>
<li>It provides 200 questions and 115 study notes that is not provided anywhere.</li>
<li> It provides the study material that makes UML 2.0 different from its previous versions. </li>
<li>Study material related to the critical topics of Activity Diagram, Sequence Diagram, Use Case diagram, and Interaction diagrams.</li>
</ol>
<p> To get a glimpse of the UM0-100 PrepKit you can download its free demo version (which contains 15 free practice questions) from uCertifyâ€™s web site. Click the link below: </p>
<p><strong><a href="http://www.ucertify.com/exams/OMG/UM0-100.html">http://www.ucertify.com/exams/OMG/UM0-100.html</a> </strong></p>
<p>UML offers a standard way to write a systemâ€™s blueprints, including conceptual components such as actors, business processes and systemâ€™s components, and activities as well as concrete things such as programming language statements, database schemas, and reusable software components.</p>
<p><strong><a href="http://www.ucertify.com/exams/OMG/UM0-100.html">http://www.ucertify.com/exams/OMG/UM0-100.html</a></strong></p>
<p>uCertify provides additional 30% discounts on its UML certification papers. Go get the latest upgraded version of the OCUP exam Hurry!!!!!!!!!  </p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.scjp-certification.com%2Fucertifys-upgrade-of-uml-certification-paper-omg-ocup-100.html&amp;title=uCertify%26%238217%3Bs%20upgrade%20of%20UML%20certification%20paper%20%28OMG-OCUP-100%29"><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/ucertifys-upgrade-of-uml-certification-paper-omg-ocup-100.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

