<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Java if statement syntax</title>
	<atom:link href="http://www.tech-recipes.com/rx/666/java-if-statement-syntax/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tech-recipes.com/rx/666/java-if-statement-syntax/</link>
	<description>Computer and technology tutorials and guides</description>
	<lastBuildDate>Thu, 09 Feb 2012 21:01:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mr.BLiek</title>
		<link>http://www.tech-recipes.com/rx/666/java-if-statement-syntax/comment-page-1/#comment-46063</link>
		<dc:creator>Mr.BLiek</dc:creator>
		<pubDate>Wed, 02 Feb 2011 03:24:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-46063</guid>
		<description>paki check yung grammar mo bago ka magyabang... napaghahalata ka tuloy na walang alam...
</description>
		<content:encoded><![CDATA[<p>paki check yung grammar mo bago ka magyabang&#8230; napaghahalata ka tuloy na walang alam&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ctviky</title>
		<link>http://www.tech-recipes.com/rx/666/java-if-statement-syntax/comment-page-1/#comment-45950</link>
		<dc:creator>ctviky</dc:creator>
		<pubDate>Sat, 29 Jan 2011 06:26:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-45950</guid>
		<description>how to add and inside if for example.,
 if(stringvariable &amp;&amp; stringvariable &amp;&amp; stringvariable !=null)
 { 
  statement1;
}
else 
{
statement2;
}
</description>
		<content:encoded><![CDATA[<p>how to add and inside if for example.,<br />
 if(stringvariable &amp;&amp; stringvariable &amp;&amp; stringvariable !=null)<br />
 {<br />
  statement1;<br />
}<br />
else<br />
{<br />
statement2;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kim Honoridez</title>
		<link>http://www.tech-recipes.com/rx/666/java-if-statement-syntax/comment-page-1/#comment-44571</link>
		<dc:creator>Kim Honoridez</dc:creator>
		<pubDate>Wed, 08 Dec 2010 02:19:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-44571</guid>
		<description>I would like to ask the effect of having multiple conditions in the if() statement with an &amp;&amp; operator.

Example:

if(x == 5
&amp;&amp; y == 7
&amp;&amp; z == 3
&amp;&amp; a != 90
.
.
.)

would this highly affect the program especially when I call it every time I call a new page?</description>
		<content:encoded><![CDATA[<p>I would like to ask the effect of having multiple conditions in the if() statement with an &amp;&amp; operator.</p>
<p>Example:</p>
<p>if(x == 5<br />
&amp;&amp; y == 7<br />
&amp;&amp; z == 3<br />
&amp;&amp; a != 90<br />
.<br />
.<br />
.)</p>
<p>would this highly affect the program especially when I call it every time I call a new page?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob</title>
		<link>http://www.tech-recipes.com/rx/666/java-if-statement-syntax/comment-page-1/#comment-44482</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Sun, 05 Dec 2010 02:02:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-44482</guid>
		<description>How about evaluating a string expression? I can&#039;t find that anywhere! it does not seem to work as : 

if (myStringVariable == &quot;Hello&quot; ) ...

what is the right operator? eq? =? ==? 

help

Thanks
</description>
		<content:encoded><![CDATA[<p>How about evaluating a string expression? I can&#8217;t find that anywhere! it does not seem to work as : </p>
<p>if (myStringVariable == &#8220;Hello&#8221; ) &#8230;</p>
<p>what is the right operator? eq? =? ==? </p>
<p>help</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bbb</title>
		<link>http://www.tech-recipes.com/rx/666/java-if-statement-syntax/comment-page-1/#comment-43135</link>
		<dc:creator>bbb</dc:creator>
		<pubDate>Wed, 13 Oct 2010 09:00:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-43135</guid>
		<description>Why is none of the indenting showing up (tried Chrome and Safari)?!</description>
		<content:encoded><![CDATA[<p>Why is none of the indenting showing up (tried Chrome and Safari)?!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ahmad</title>
		<link>http://www.tech-recipes.com/rx/666/java-if-statement-syntax/comment-page-1/#comment-43017</link>
		<dc:creator>Ahmad</dc:creator>
		<pubDate>Sat, 09 Oct 2010 13:46:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-43017</guid>
		<description>an or statement could be added &gt;&gt;&gt;  &quot;&#124;&#124;&quot;

if (x==1 &#124;&#124; y==1) {
System.out.println(&quot;x = one or y = 1&quot;);
}
</description>
		<content:encoded><![CDATA[<p>an or statement could be added &gt;&gt;&gt;  &#8220;||&#8221;</p>
<p>if (x==1 || y==1) {<br />
System.out.println(&#8220;x = one or y = 1&#8243;);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Svenbayaca</title>
		<link>http://www.tech-recipes.com/rx/666/java-if-statement-syntax/comment-page-1/#comment-42067</link>
		<dc:creator>Svenbayaca</dc:creator>
		<pubDate>Fri, 03 Sep 2010 03:19:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-42067</guid>
		<description>type nio ko sa fb para magkaalaman mga weak svenbayaca@ymail.com</description>
		<content:encoded><![CDATA[<p>type nio ko sa fb para magkaalaman mga weak <a href="mailto:svenbayaca@ymail.com">svenbayaca@ymail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Svenbayaca</title>
		<link>http://www.tech-recipes.com/rx/666/java-if-statement-syntax/comment-page-1/#comment-42066</link>
		<dc:creator>Svenbayaca</dc:creator>
		<pubDate>Fri, 03 Sep 2010 03:16:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-42066</guid>
		<description>im it expert my grade is
perlim =  77;
midterm = 76;
weak nio see u next year!!!!..... im 1st year from up cabalan</description>
		<content:encoded><![CDATA[<p>im it expert my grade is<br />
perlim =  77;<br />
midterm = 76;<br />
weak nio see u next year!!!!&#8230;.. im 1st year from up cabalan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Svenbayaca</title>
		<link>http://www.tech-recipes.com/rx/666/java-if-statement-syntax/comment-page-1/#comment-42065</link>
		<dc:creator>Svenbayaca</dc:creator>
		<pubDate>Fri, 03 Sep 2010 03:14:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-42065</guid>
		<description>if (x</description>
		<content:encoded><![CDATA[<p>if (x</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Taylor</title>
		<link>http://www.tech-recipes.com/rx/666/java-if-statement-syntax/comment-page-1/#comment-37625</link>
		<dc:creator>Kevin Taylor</dc:creator>
		<pubDate>Fri, 19 Feb 2010 01:26:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-37625</guid>
		<description>heres an example.

	 	
	if (input1.endsWith(&quot;.gov&quot;))
	System.out.println(&quot;This is a Government address&quot;);
   
		
	else if (input1.endsWith(&quot;.edu&quot;))
	System.out.println(&quot;This is an educational address&quot;);
	
   
	else if (input1.endsWith(&quot;.com&quot;))
	System.out.println(&quot;This is an organizational address&quot;);
  
   else
	System.out.println(&quot;This is an out of country address&quot;);
</description>
		<content:encoded><![CDATA[<p>heres an example.</p>
<p>	if (input1.endsWith(&#8220;.gov&#8221;))<br />
	System.out.println(&#8220;This is a Government address&#8221;);</p>
<p>	else if (input1.endsWith(&#8220;.edu&#8221;))<br />
	System.out.println(&#8220;This is an educational address&#8221;);</p>
<p>	else if (input1.endsWith(&#8220;.com&#8221;))<br />
	System.out.println(&#8220;This is an organizational address&#8221;);</p>
<p>   else<br />
	System.out.println(&#8220;This is an out of country address&#8221;);</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached (User agent is rejected)
Database Caching 2/17 queries in 1.278 seconds using memcached
Object Caching 416/419 objects using memcached

Served from: www.tech-recipes.com @ 2012-02-10 00:36:19 -->
