Decision and control structures in Java
(Class 8)
Fill in the blanks:
1. A _____ is a group of statements enclosed within curly braces.
2. The if statement consists of a _______ expression followed by a statement or block.
3. The ______ statement takes the control out of the switch block after the execution of the case block.
4. The ____________ control structure executes a set of statements repeatedly depending on the value of a condition (boolean expression).
5. The ______ case is optional in switch statement.
Answers
Answered by
2
1)if statement,loop,...
2)Boolean expression.
3) break statement
4)while statement
5) default case
Similar questions