Statement is a line of executable code that ends with a semicolon (;)
Code Block is a group of two or more statements between curly braces.
Control Statements:
|
Statement Type |
Keyword |
|
Selection |
If-else, Switch-case |
|
Iteration |
While, do-while, for |
|
Jump |
Break, continue, label, return |
|
Exception handling |
Try-catch-finally, throw |
