Loading video...
QuickNotes™ 
Control Statements
Conditional statements: Statements that are executed if the condition is true.
Java Control statements: if, if-else, nested if, multi-way if, conditional operator, and switch statement.
Simple statement: one Java statement.
salary = hours * payRate ;
Compound statement: Two or more Java statements enclosed in { }.
{
X ++ ;
Y -- ;
A = X * Y ;
System.out.println( X + " " + Y + " " + A );
}
Discussion 
Please login to ask a question and view discussion.













