• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

A possible typo in answer of question 60 in chapter 7 (OCP 17 - Practice Tests)

 
Ranch Hand
Posts: 72
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello

With reference to the answer of question 60 in chapter 7 of the OCP Oracle Certified Professional Java SE 17 Developer Practice Tests: Exam 1Z0-829 (English Edition) book (Kindle edition), shown below.

A. Without any command-line flags, jdeps lists packages and module dependencies, making option A correct. Option D will also list the packages; however, it is longer than option A.



Is this statement Option D will also list the packages; correct?  Following are the options


A. jdeps cookie.jar
B. jdeps -s cookie.jar
C. jdeps -jdkinternals cookie.jar
D. jdeps --jdkinternals cookie.jar
E. jdeps -jdk-unsupported cookie.jar
F. jdeps --jdk-unsupported cookie.jar



I believe --jdkinternals is an invalid jdeps option.
 
Saloon Keeper
Posts: 15649
367
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You are correct.
 
author & internet detective
Posts: 41933
910
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

These are valid. Alas, that is not what we used in the wrong answer. Updating errata.
reply
    Bookmark Topic Watch Topic
  • New Topic