Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

IF..ELSE Statement

//An if statement can be followed ba an optional else statement, which 
//executes whe the Boolean expression is false
if(Boolean_expression) {
   // Executes when the Boolean expression is true
}else {
   // Executes when the Boolean expression is false
}
Source by sites.google.com #
 
PREVIOUS NEXT
Tagged: #Statement
ADD COMMENT
Topic
Name
3+9 =