Java For-Each Loop
For-each loops allow you to execute a block of code for every item in a collection.
Java Do-While Loop
A do-while loop always executes once and then executes until a condition is false.
Java While Loop
While loops repeatably execute a block of code while a condition is met.
Java For Loop
For loops allow you to execute a block of code a fixed number of times.
Java Text Blocks
Text blocks add clarity by reducing the syntax needed to build a string.
The Case Against Checked Exceptions in Java
Checked exceptions are great on paper, but not in practice.
The Case for Checked Exceptions in Java
Checked exceptions are exceptions that are checked at compile time.
Java Import Statement
Imports allow you to use a class by its name that is outside of the package you are in.
Java Switch Statement
Switch statements execute one or more blocks of code based on an expression.
Java try-with-resources Statement
Let Java handle closing your resources.