.

Friday, April 27, 2012

[Java] If-Then-Else Syntax

          Hello, Reader ^^! Back again with source code. This time is a basic syntax If-Then-Else in Java programming language. This source code is to show how to do If-Then-Else statement in Java language. Here's the template:


if <condition> {
       <statement if true> 
} else {
       <statement if false>
}


Okay, that's all I can say. Thank you for reading ^^!








No comments:

Post a Comment