Guide: Using our Java 17 Practice Test Book for the Java 21 Exam

Normally, we tell people to be sure to use the same version of the book as their exam. This is essential for the study guide as language changes affect you getting the right answer.

You may have noticed that while the Java 21 Certification Study Guide comes with three online mock exams, we don’t have a separate practice tests book. Luckily, you can use much of the Java 17 practice tests book if you need more practice with just a little guidance.

The following table lets you know what parts of the Java 17 practice tests book to use and what to skip if you are taking the Java 21 exam.

Obviously, the new functionality in Java 21 isn’t covered in the Java 17 practice tests book. It will help you be stronger at the Java 1-17 content (the exam is cumulative) and also get you faster at solving questions and identifying tricks.

ChapterTitleNotes
1Handling Date, Time, Text, Numeric and Boolean ValuesSince daylight savings time is no longer on the exam, skip questions: 5, 10, 18, 21, 40 and 68
2Controlling Program FlowSkip question 32.
Treat the term “switch expression” as “uses arrows” and “switch statement” as uses colons”
3Utilizing Java Object-Oriented ApproachAll questions still apply
4Handling ExceptionsAll questions still apply
5Working with Arrays and CollectionsAll questions still apply
6Working with Streams and Lambda ExpressionsAll questions still apply
7Packaging and Deploying Java Code and Use the Java Platform Module SystemAll questions still apply
8Managing Concurrent Code ExecutionAll questions still apply
9Using Java I/O APIAll questions still apply
10Accessing Databases using JDBCSkip this chapter; JDBC is no longer on the exam
11Implementing LocalizationAll questions still apply
12Practice Exam 1Skip questions 4 and 18 since on JDBC
13Practice Exam 2Skip questions 3 and 32 since on JDBC
14Practice Exam 3Skip questions 16 and 19 since on JDBC