I have been following Maha's Prep Tips and working my way through
'Thinking in
Java' by Bruce Eckel. I recently made a really stupid
mistake that wasted a lot of time (hours). Perhaps I can save someone else some time by relating what I did.
While working through Chapter 5, Hiding the Implementation, I completed the first examples on importing packages (LibTest.java and Vector.java, etc.) but spent two days trying to make Dessert.java and Cookie.java compile. Only after finding the files Cookie.java and Cookie.class living in my c05 directory as well as living in the Dessert directory (where they belong) did I see my mistake. Deleted the Cookie files from my c05 directory and every things runs great.
Moderators: any editing you care to do to make this clearer (I assume you're very familiar with 'Thinking in Java',) is greatly appreciated. I'm a newbie and this is my first post.
Java Ranch looks like a great place to be.
Also, I'm doing all of my work under RedHat Linux 6.2.