Compiling with javac and running with java -cp
In one line: javac -d writes classes into package folders; running needs the class path at the package root plus the fully qualified name.
You’ve read your 2 free 1Z0-831 lessons
Sign up free to read every lesson — your progress is saved.