aspose file tools*
The moose likes Mock Exam Errata and the fly likes Kathy Sierra's SCJP&D line numbering Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Mock Exam Errata
Bookmark "Kathy Sierra Watch "Kathy Sierra New topic
Author

Kathy Sierra's SCJP&D line numbering

Jim Tonn
Greenhorn

Joined: Apr 28, 2004
Posts: 4
I'm not sure whether this kind of thing appears on the actual exam, but I was a bit concerned about some of the questions in this book from Osborne Cert. Press. In several sample questions line numbering starts at 1, but there is no class definition etc..
In these cases I would say that compilation fails, since in other places, code snippets seem to start at some arbitrary number (which I assumed to mean that the necessary definitions are simply not shown). Is this an oversight in the book, or is it possible that on the actual exam, a code snippet can start at line 1, jump straight into code, and still compile?
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8829
    
    5
Jim -
I thought that with the newest printing we'd caught all of those - if not, sorry! In any case, on the real exam those problems won't crop up - if a code example starts with line 1 on the real exam, it will be a complete file. The real exam has lots of ways to try to trick you, but that isn't one of them .
- Bert


Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
 
 
subject: Kathy Sierra's SCJP&D line numbering