Section 3: JDK 12

This section will show you how switch expressions have enhanced the traditional switch statement, making your code less verbose and thereby avoiding logical errors. The next chapter covers other additions and updates in Java 12.

The following chapters will be covered in this section: