Computer Science, asked by manglidevi35, 7 months ago

a block is closed within a pair of of

Answers

Answered by Anonymous
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 tamannasharma31
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