Conditional Statements, such as an if statement, are:
Statements that always execute whether or not the condition is true or not.
Statements that rarely execute.
Statements that execute if the prescribed condition evaluates as true.
The Equality Operator is represented as:
=
==
equals
True or false – In an if-else statement, the else statement only executes if the preceding if statement does not equal true?
True
False
When using an else if statement, you can use an else if statement:
Once per if statement.
Twice per if statement.
An infinite amount per if statement.
Which of the following is NOT a properly formatted Java comment:
//Hello World!
/*Hello World!*/
/* Hello World
Leave a Reply