AP Computer Science A
Enclosing brackets, also known as curly braces ({ }), are used in programming languages to group multiple lines of code together and define what constitutes the body of an if statement (or other control structures). The opening brace ({) marks the beginning of the block, and the closing brace (}) marks its end.