Courseiva
Java Basics and SyntaxhardMultiple SelectObjective-mapped

1Z0-811 Java Basics and Syntax Practice Question

Which THREE statements about the final keyword in Java are true?

⚠ Common exam trap

Oracle often tests the distinction between a final reference variable and the immutability of the object it refers to, leading candidates to incorrectly assume that a final reference prevents all changes to the object's state.

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

A final variable cannot be reassigned after initialization.

A final variable in Java can only be assigned once. After initialization, any attempt to reassign the variable results in a compile-time error. This ensures the variable's value remains constant throughout its scope.

Answer analysis

Option-by-option breakdown

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

  • A final variable cannot be reassigned after initialization.

    Why this is correct

    Correct.

  • A final reference variable cannot be made to refer to a different object.

    Why this is correct

    Correct.

  • A final method can be overridden in a subclass.

    Why it's wrong here

    Final methods cannot be overridden.

  • A final parameter in a method allows the method to modify the argument value.

    Why it's wrong here

    Final parameter cannot be changed; it is a local constant.

  • A final class cannot be extended.

    Why this is correct

    Correct.

About these practice questions

One of 481 original 1Z0-811 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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-811 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-811 exam.