a block is closed within a pair of of
Answers
Answered by
2
Answer:
A block in Java is a group of one or more statements enclosed in braces. A block begins with an opening brace ({) and ends with a closing brace (}). Between the opening and closing braces, you can code one or more statements. For example: { int i, j; i = 100; j = 200; }
Answered by
2
Answer:
A block statement is a sequence of zero or more statements enclosed in braces. A block statement is generally used to group together several statements, so they can be used in a situation that requires you to use a single statement.
Similar questions
Physics,
2 months ago
Math,
2 months ago
English,
2 months ago
Political Science,
4 months ago
Math,
4 months ago
Business Studies,
9 months ago
Math,
9 months ago