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.
Chapter | Title | Notes |
---|---|---|
1 | Handling Date, Time, Text, Numeric and Boolean Values | Since daylight savings time is no longer on the exam, skip questions: 5, 10, 18, 21, 40 and 68 |
2 | Controlling Program Flow | Skip question 32. Treat the term “switch expression” as “uses arrows” and “switch statement” as uses colons” |
3 | Utilizing Java Object-Oriented Approach | All questions still apply |
4 | Handling Exceptions | All questions still apply |
5 | Working with Arrays and Collections | All questions still apply |
6 | Working with Streams and Lambda Expressions | All questions still apply |
7 | Packaging and Deploying Java Code and Use the Java Platform Module System | All questions still apply |
8 | Managing Concurrent Code Execution | All questions still apply |
9 | Using Java I/O API | All questions still apply |
10 | Accessing Databases using JDBC | Skip this chapter; JDBC is no longer on the exam |
11 | Implementing Localization | All questions still apply |
12 | Practice Exam 1 | Skip questions 4 and 18 since on JDBC |
13 | Practice Exam 2 | Skip questions 3 and 32 since on JDBC |
14 | Practice Exam 3 | Skip questions 16 and 19 since on JDBC |