Courseiva
Working with Arrays and CollectionshardMultiple ChoiceObjective-mapped

1Z0-829 Working with Arrays and Collections Practice Question

Network Topology
$ javaversionRefer to the exhibit.openjdk version "17.0.2" 2022-01-18OpenJDK Runtime Environment (build 17.0.2+8-86)

Given the above Java version, which of the following is NOT a standard Java 17 feature?

⚠ Common exam trap

Many exam-takers assume pattern matching for switch is a standard feature because it is widely discussed and similar to other finalized features like records or sealed classes, but Oracle deliberately kept it in preview in Java 17 to test further refinements.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Pattern matching for switch (preview)

Pattern matching for switch is a preview feature in Java 17, not a standard feature. It was introduced as a preview under JEP 406 and requires the --enable-preview flag to be used. Standard features in Java 17 are finalized and do not require any preview flags.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • All of the above are standard

    Why it's wrong here

    Incorrect: Pattern matching for switch is preview.

  • Sealed classes

    Why it's wrong here

    Incorrect: Sealed classes are standard in Java 17.

  • Text blocks

    Why it's wrong here

    Incorrect: Text blocks are standard since Java 15.

  • Pattern matching for switch (preview)

    Why this is correct

    Correct: This is a preview feature in Java 17, not standard.

  • Records

    Why it's wrong here

    Incorrect: Records are a standard feature in Java 17.

About these practice questions

Courseiva writes every 1Z0-829 question from scratch — 513 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This 1Z0-829 practice question is part of Courseiva's free Oracle certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 1Z0-829 exam.