2.2 Code Blocks - Lexical Issues
2.2 Code Blocks - Lexical Issues
Lexical
By Upekha Vandebona
Code Blocks
Java allows two or more statements
to be grouped into blocks of code,
also called code blocks.
This is done by enclosing the
statements between opening and
closing curly braces.
Here, if x is less than y, then both statements inside
the block will be executed.