Multiple choice technology programming languages

Java allows two or more statements to be grouped into blocks of code called Code Blocks.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Java uses curly braces { } to group multiple statements into code blocks. This is essential for control structures like if, for, while, and for defining class and method bodies. Blocks create a new scope for local variables and are a fundamental part of Java syntax.