Technical requirements

To compile and execute the code included in this chapter, install JDK 12 on your system. All code in this chapter can be accessed using the following URL: https://github.com/PacktPublishing/Java-11-and-12-New-Features.

Let's get started by covering the issues with existing switch statements.