Courseiva
Java Basics and SyntaxeasyMultiple SelectObjective-mapped

1Z0-811 Java Basics and Syntax Practice Question

Which THREE are primitive data types in Java? (Choose three.)

⚠ Common exam trap

Oracle often tests the distinction between primitive types and their corresponding wrapper classes, as candidates frequently mistake `Integer` or `String` for primitives because they are commonly used and have similar names.

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

double

`double` is one of the eight primitive data types in Java, used to represent double-precision 64-bit IEEE 754 floating-point numbers. Primitives are predefined by the language and stored directly in stack memory, not as objects.

Answer analysis

Option-by-option breakdown

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

  • double

    Why this is correct

    Correct: double is a primitive type.

  • Integer

    Why it's wrong here

    Integer is a wrapper class, not primitive.

  • boolean

    Why this is correct

    Correct: boolean is a primitive type.

  • int

    Why this is correct

    Correct: int is a primitive type.

  • String

    Why it's wrong here

    String is a class, not primitive.

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.