<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Tech-Recipes - Latest Comments in Java if statement syntax</title><link>http://tech-recipes.disqus.com/</link><description>Cookbook of Tech Tutorials</description><atom:link href="https://tech-recipes.disqus.com/java_if_statement_syntax_java_programming_tech_recipes/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 01 Feb 2011 22:24:06 -0000</lastBuildDate><item><title>Re: Java if statement syntax</title><link>http://www.tech-recipes.com/rx/666/java-if-statement-syntax/#comment-138580120</link><description>&lt;p&gt;paki check yung grammar mo bago ka magyabang... napaghahalata ka tuloy na walang alam...&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mr.BLiek</dc:creator><pubDate>Tue, 01 Feb 2011 22:24:06 -0000</pubDate></item><item><title>Re: Java if statement syntax</title><link>http://www.tech-recipes.com/rx/666/java-if-statement-syntax/#comment-136499187</link><description>&lt;p&gt;how to add and inside if for example.,&lt;br&gt; if(stringvariable &amp;amp;&amp;amp; stringvariable &amp;amp;&amp;amp; stringvariable !=null)&lt;br&gt; { &lt;br&gt;  statement1;&lt;br&gt;}&lt;br&gt;else &lt;br&gt;{&lt;br&gt;statement2;&lt;br&gt;}&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ctviky</dc:creator><pubDate>Sat, 29 Jan 2011 01:26:54 -0000</pubDate></item><item><title>Re: Java if statement syntax</title><link>http://www.tech-recipes.com/rx/666/java-if-statement-syntax/#comment-108512469</link><description>&lt;p&gt;I would like to ask the effect of having multiple conditions in the if() statement with an &amp;amp;&amp;amp; operator.&lt;/p&gt;&lt;p&gt;Example:&lt;/p&gt;&lt;p&gt;if(x == 5&lt;br&gt;&amp;amp;&amp;amp; y == 7&lt;br&gt;&amp;amp;&amp;amp; z == 3&lt;br&gt;&amp;amp;&amp;amp; a != 90&lt;br&gt;.&lt;br&gt;.&lt;br&gt;.)&lt;/p&gt;&lt;p&gt;would this highly affect the program especially when I call it every time I call a new page?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kim Honoridez</dc:creator><pubDate>Tue, 07 Dec 2010 21:19:37 -0000</pubDate></item><item><title>Re: Java if statement syntax</title><link>http://www.tech-recipes.com/rx/666/java-if-statement-syntax/#comment-106808700</link><description>&lt;p&gt;How about evaluating a string expression? I can't find that anywhere! it does not seem to work as :&lt;/p&gt;&lt;p&gt;if (myStringVariable == "Hello" ) ...&lt;/p&gt;&lt;p&gt;what is the right operator? eq? =? ==?&lt;/p&gt;&lt;p&gt;help&lt;/p&gt;&lt;p&gt;Thanks&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bob</dc:creator><pubDate>Sat, 04 Dec 2010 21:02:26 -0000</pubDate></item><item><title>Re: Java if statement syntax</title><link>http://www.tech-recipes.com/rx/666/java-if-statement-syntax/#comment-86507323</link><description>&lt;p&gt;Why is none of the indenting showing up (tried Chrome and Safari)?!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bbb</dc:creator><pubDate>Wed, 13 Oct 2010 05:00:09 -0000</pubDate></item><item><title>Re: Java if statement syntax</title><link>http://www.tech-recipes.com/rx/666/java-if-statement-syntax/#comment-85486645</link><description>&lt;p&gt;an or statement could be added &amp;gt;&amp;gt;&amp;gt;  "||"&lt;/p&gt;&lt;p&gt;if (x==1 || y==1) {&lt;br&gt;System.out.println("x = one or y = 1");&lt;br&gt;}&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ahmad</dc:creator><pubDate>Sat, 09 Oct 2010 09:46:37 -0000</pubDate></item><item><title>Re: Java if statement syntax</title><link>http://www.tech-recipes.com/rx/666/java-if-statement-syntax/#comment-74658176</link><description>&lt;p&gt;type nio ko sa fb para magkaalaman mga weak svenbayaca@ymail.com&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Svenbayaca</dc:creator><pubDate>Thu, 02 Sep 2010 23:19:04 -0000</pubDate></item><item><title>Re: Java if statement syntax</title><link>http://www.tech-recipes.com/rx/666/java-if-statement-syntax/#comment-74657876</link><description>&lt;p&gt;im it expert my grade is&lt;br&gt;perlim =  77;&lt;br&gt;midterm = 76;&lt;br&gt;weak nio see u next year!!!!..... im 1st year from up cabalan&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Svenbayaca</dc:creator><pubDate>Thu, 02 Sep 2010 23:16:19 -0000</pubDate></item><item><title>Re: Java if statement syntax</title><link>http://www.tech-recipes.com/rx/666/java-if-statement-syntax/#comment-74657694</link><description>&lt;p&gt;if (x&amp;lt;=1)&lt;br&gt;System.out.print( )&lt;br&gt;try nio mga weak&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Svenbayaca</dc:creator><pubDate>Thu, 02 Sep 2010 23:14:41 -0000</pubDate></item><item><title>Re: Java if statement syntax</title><link>http://www.tech-recipes.com/rx/666/java-if-statement-syntax/#comment-35144751</link><description>&lt;p&gt;heres an example.&lt;/p&gt;&lt;p&gt;	if (input1.endsWith(".gov"))&lt;br&gt;	System.out.println("This is a Government address");&lt;/p&gt;&lt;p&gt;	else if (input1.endsWith(".edu"))&lt;br&gt;	System.out.println("This is an educational address");&lt;/p&gt;&lt;p&gt;	else if (input1.endsWith(".com"))&lt;br&gt;	System.out.println("This is an organizational address");&lt;/p&gt;&lt;p&gt;   else&lt;br&gt;	System.out.println("This is an out of country address");&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kevin Taylor</dc:creator><pubDate>Thu, 18 Feb 2010 20:26:18 -0000</pubDate></item><item><title>Re: Java if statement syntax</title><link>http://www.tech-recipes.com/rx/666/java-if-statement-syntax/#comment-6462807</link><description>&lt;p&gt;thanks and what are the output?&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">richie</dc:creator><pubDate>Sat, 21 Feb 2009 03:57:50 -0000</pubDate></item><item><title>Re: Java if statement syntax</title><link>http://www.tech-recipes.com/rx/666/java-if-statement-syntax/#comment-6462576</link><description>&lt;p&gt;if ( x == 1 )&lt;br&gt;System.out.println("one");&lt;br&gt;else if ( x &amp;gt; 1 ) {&lt;br&gt;y = x*2;&lt;br&gt;System.out.println("many");&lt;br&gt;} else {&lt;br&gt;y = -x;&lt;br&gt;System.out.println("negative");&lt;br&gt;}&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">richie</dc:creator><pubDate>Sat, 21 Feb 2009 03:55:55 -0000</pubDate></item><item><title>Re: Java if statement syntax</title><link>http://www.tech-recipes.com/rx/666/java-if-statement-syntax/#comment-2768638</link><description>&lt;p&gt;what about the pipe | in an if statement and other things? I think this leaves out a lot to be had.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 18 Nov 2005 04:16:52 -0000</pubDate></item><item><title>Re: Java if statement syntax</title><link>http://www.tech-recipes.com/rx/666/java-if-statement-syntax/#comment-2768637</link><description>&lt;p&gt;nice job&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 14 Oct 2004 15:45:38 -0000</pubDate></item></channel></rss>