Courseiva
Java Platform Overview and PackagingmediumMultiple ChoiceObjective-mapped

1Z0-829 Java Platform Overview and Packaging Practice Question

Exhibit

Refer to the exhibit.
```
$ jdeps -summary -s -cp lib/*:classes -R app.jar
app.jar -> java.base
app.jar -> java.sql
app.jar -> com.thirdparty.util
app.jar -> com.thirdparty.helper (modular)
   com.thirdparty.helper -> java.base
```

A developer runs the above jdeps command on app.jar. Which statement about the dependencies is correct?

⚠ Common exam trap

Oracle often tests the implicit dependency on `java.base` to catch candidates who think all module dependencies must be explicitly declared in `module-info.java`.

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

The app.jar depends on java.base implicitly.

Every Java module automatically has an implicit dependency on the `java.base` module, which is always resolved by the module system. The `jdeps` command analyzes dependencies, and even if no explicit `requires java.base` is declared, the module system adds it implicitly. This is a fundamental rule of the Java Platform Module System (JPMS) as defined in JSR 376.

Answer analysis

Option-by-option breakdown

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

  • The app.jar has a direct dependency on the class com.thirdparty.util.

    Why it's wrong here

    jdeps summary shows module-level, not class-level dependencies.

  • The modular dependency com.thirdparty.helper is not required because it is modular.

    Why it's wrong here

    Modular dependencies are still required.

  • The dependencies on com.thirdparty.util and com.thirdparty.helper are on the module path.

    Why it's wrong here

    The exhibit shows -cp for classpath, so they are on classpath.

  • The app.jar depends on java.base implicitly.

    Why this is correct

    All Java applications implicitly depend on java.base.

Visual reference

Client Recursive Resolver Root DNS (13 root servers) TLD DNS (.com, .org, …) Authoritative example.com query IP addr answer

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.