<?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; operator</title>
	<atom:link href="http://www.scjp-certification.com/tag/operator/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 types of static import?</title>
		<link>http://www.scjp-certification.com/what-are-the-types-of-static-import.html</link>
		<comments>http://www.scjp-certification.com/what-are-the-types-of-static-import.html#comments</comments>
		<pubDate>Mon, 08 Feb 2010 05:34:07 +0000</pubDate>
		<dc:creator>Daisy Williams</dc:creator>
				<category><![CDATA[Java Facts]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[operator]]></category>
		<category><![CDATA[SCJP]]></category>
		<category><![CDATA[static import]]></category>

		<guid isPermaLink="false">http://www.scjp-certification.com/?p=521</guid>
		<description><![CDATA[Static import is a new feature introduced in j2SE 5.0. It allows the static members of the imported class to...]]></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-types-of-static-import.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.scjp-certification.com%2Fwhat-are-the-types-of-static-import.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Static import is a new feature introduced in j2SE 5.0. It allows the static members of the imported class to be treated as if they were declared in the class that uses them. It is now no longer required to use the static class name and dot operator as was required before. Static imports are of the following two types:
<ol>
<li>One in which all the members of a particular static class are imported:<br />
import static packageName.ClassName.*; </li>
<li>And the other in which only a particular member of a class is imported:<br />
import static packageName.ClassName.membername;</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-types-of-static-import.html&amp;title=What%20are%20the%20types%20of%20static%20import%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-types-of-static-import.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>What is an instanceOf operator?</title>
		<link>http://www.scjp-certification.com/what-is-an-instanceof-operator.html</link>
		<comments>http://www.scjp-certification.com/what-is-an-instanceof-operator.html#comments</comments>
		<pubDate>Sat, 29 Aug 2009 11:51:58 +0000</pubDate>
		<dc:creator>Daisy Williams</dc:creator>
				<category><![CDATA[Java Facts]]></category>
		<category><![CDATA[instanceof]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[keyword]]></category>
		<category><![CDATA[operator]]></category>

		<guid isPermaLink="false">http://www.scjp-certification.com/?p=138</guid>
		<description><![CDATA[The instanceof operator is a binary operator that determines at runtime whether its left operand is an instance of 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%2Fwhat-is-an-instanceof-operator.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.scjp-certification.com%2Fwhat-is-an-instanceof-operator.html&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>The <a href=" http://java.sun.com/docs/books/tutorial/java/nutsandbolts/op2.html"><strong>instanceof </strong></a> operator is a binary operator that determines at runtime whether its left operand is an instance of its right operand.<br />
Syntax:</p>
<p><strong>obj instanceof type</strong></p>
<p>where, obj (the left operand) must be an instance of a class and type (the right operand) may be a class, interface, or an array type. The instanceof operator evaluates to true if the left operand is of the specified type or can be cast to the specified type. Otherwise, it evaluates to false. The instanceof operator cannot be used with primitive data types.</p>
<p><strong>Note:</strong> An object is considered to be an instance of a class if the object directly or indirectly descends from that class.  </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-an-instanceof-operator.html&amp;title=What%20is%20an%20instanceOf%20operator%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-an-instanceof-operator.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

