AP® Computer Science A glossary
Block
Also called: block of code
Course: AP® Computer Science A Shows up in: Unit 1: Using Objects and Methods
Any section of code enclosed in braces { }.
Appears in the course and exam description (CED): 1.9.A.1
The body of a method, a constructor or a class is a block. A method is a named block of code.
Learn it properly, with a checkpoint 1.9 Method Signatures