O'Reilly logo
  • Bijil Babu thinks this is interesting:

Which of the following replaces INSERT CODE HERE if we compile from /my/directory? (Choose all that apply)


Cover of OCA: Oracle Certified Associate Java SE 8 Programmer I Study Guide: Exam 1Z0-808


Question doesn't state how are we compiling? Like even if we are in the directory /my/directory and the package statement in the class is package my.directory.named.A and if we compile it as javac named/a/*.java. it will still work. but the answer is explaining only one option,