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
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
/proj src 1- bin 1- A.java 1- top - sub 1- A.class
Step by Step Solution
3.46 Rating (153 Votes )
There are 3 Steps involved in it
d and f The parent directory or location of the pa... View full answer
Get step-by-step solutions from verified subject matter experts
