Test description

This test was designed to check the advanced knowledge and coding skills of Java developers who are up-to-date with the later versions and features in Java. Most of the questions include pieces of code that evaluate the understanding of more recent enhancements in the Java language (up to version 17).
Topics: switch expressions, text blocks, records, local-variable type inference, sealed classes, pattern matching for instanceof, streams, executors, NIO, Date/Time API, jdk distributions, garbage collectors.

Sample questions

Which of the following statements are true about Java 17?