Given the following directory structure: Assume that the current directory is /proj/src. Which class path specifications will
Question:
Given the following directory structure:
Assume that the current directory is /proj/src. Which class path specifications will find the file A.class of the class top.sub.A declared in the file /proj/src/A.java?
Select the two correct answers.
(a) -cp /proj/bin/top
(b) -cp /proj/bin/top/sub
(c) -cp /proj/bin/top/sub/A.class
(d) -cp .:../bin
(e) -cp /proj
(f) -cp /proj/bin
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Programmers Guide To Java SE 8 Oracle Certified Associate OCA
ISBN: 9780132930215
1st Edition
Authors: Khalid Mughal, Rolf Rasmussen
Question Posted: