Oracle
1Z0-819 · Question #196
1Z0-819 Question #196: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-819 to reveal the answer and full explanation for question #196. The question stem and answer options stay visible for context.
Question
A company has an existing Java app that includes two Java 8 jar files, sales-3.10.jar and clients- 10.2.jar. The sales-3.10.jar uses packages in clients-10.2.jar, but clients-10.2.jar does not reference packages in sales -8.10.jar. They have decided to modularize clients-10.2.jar. Which module- info declaration is valid for the new library version clients-10.2.jar?
Options
- Amodule com.company.clients { uses com.company.clients; }
- Bmodule com.company.clients { requires com.company.clients; }
- Cmodule com.company.clients { exports com.company.clients; }
- Dmodule com.company.clients { exports com.company.clients; }
Unlock 1Z0-819 to see the answer
You've previewed enough free 1Z0-819 questions. Unlock 1Z0-819 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.