Courseiva
Primitives, Strings and OperatorsmediumMatchingObjective-mapped

1Z0-811 Primitives, Strings and Operators Practice Question

Match each Java tool to its function.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Compiles .java source files into .class bytecode

Launches the Java application (JVM)

Generates API documentation from source code comments

Creates and manages JAR archives

Debugger for Java programs

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

javac: Compiles Java source code into bytecode

The correct matches are: javac compiles source code, java runs applications, javadoc generates documentation, and jar creates archives. Common confusions involve mixing up javac with jar and java with javadoc.

Answer analysis

Option-by-option breakdown

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

  • javac: Compiles Java source code into bytecode

    Why this is correct

    javac is the Java compiler, which translates .java files into .class files.

  • java: Launches the Java Virtual Machine to run applications

    Why this is correct

    java command starts a JVM and loads the specified class.

  • javadoc: Generates API documentation in HTML format

    Why this is correct

    javadoc parses documentation comments to produce HTML documentation.

  • jar: Packages class files and resources into a single archive

    Why this is correct

    jar tool creates a compressed archive (JAR file) of compiled classes.

  • javac: Packages class files into an archive

    Why it's wrong here

    Incorrect — packaging is done by jar, not javac.

  • java: Generates API documentation

    Why it's wrong here

    Incorrect — documentation generation is done by javadoc.

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.