File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Pre-school classpaths for SCJP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Pre-school classpaths for SCJP" Watch "Pre-school classpaths for SCJP" New topic

Pre-school classpaths for SCJP

jay sugrue

Joined: May 29, 2012
Posts: 20


I'm going through the self test questions for chapter 10 in the Sierra-Bates SCJP guidebook and having serious difficulty. There isn't much point
posting the questions I'm having difficulty with because most have already been discussed on the forum already. I've read through these and still
can't make any headway. The questions are numbers 3,5,9,10,11,12 and they all involve the scenario 'given a directory structure, and a certain
current directory which java command will invoke the following output'...

The questions posted and discussed seem to me to have an almost contradictory logic that leaves me even more confused. So, what I'm looking for -
and have looked for to no avail - are notes etc. that explain to me - LIKE I WAS A FIVE YEAR OLD - classpaths, how to get to class files through directory structures.

Is there any instructional blogs, video tutorials, notes out there that explains all this clearly. Any links posted will be gladly appreciated.

Henry Wong

Joined: Sep 28, 2004
Posts: 20531

Why not just create the directory structures mentioned, and play with it yourself? There is no better way to learn the behavior of the compiler than to see it for yourself.


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
jay sugrue

Joined: May 29, 2012
Posts: 20
I guess you're right, thanks Henry.
I agree. Here's the link:
subject: Pre-school classpaths for SCJP
It's not a secret anymore!