The syntax of if.....else statement
if(test expression)
{
True-block statements(s)
}
else{
false-block statement(s)
}
statement-x
Decision making Java
if(test expression)
{
True-block statements(s)
}
else{
false-block statement(s)
}
statement-x
Decision making Java
No comments:
Post a Comment