My directory structure is like that-
In the x directory:
In the
test directory:
In the myApp directory:
The question is :
If the current directory is x, which invocations will produce the output "test/Baz"? (Choose
all that apply.)
I know how to compile and run
let's say:
here is my answer :
c:\Users\Ian Su\Desktop\x>javac -cp test FindBaz.java //to compile
c:\Users\Ian Su\Desktop\x>javac -cp test;. FindBaz //to run to have the correct output
The answer is ok.
It is still ok!Then I tried to change the FindBaz.java.That is I inserted one line.
FindBaz.java after changing it.
In the x directory:
Other files are the same as before.
After changing it,I tried several ways to compile FindBaz.java.But I still can't compile.
Is there anybody able to help me with it!Thank you for your reading my post!
I know what the problem is.But what i want to know is ,can I compile in this latest situation.
help me out please.