aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes error (?) in Java2Certification Study guide 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 » Programmer Certification (SCJP/OCPJP)
Bookmark "error (?) in Java2Certification Study guide" Watch "error (?) in Java2Certification Study guide" New topic
Author

error (?) in Java2Certification Study guide

Anna Dow
Greenhorn

Joined: Jun 04, 2002
Posts: 18
Hi, all,
just discovered an error in the famous 'Java 2 Certification Study Guide' (Roberts, heller, Ernest). They say that application's main method may be

The fact is that it cannot (I run test and got an error from vm launcher). So I wonder : can we believe this book in general?
geetha nagarajan
Ranch Hand

Joined: Jul 13, 2001
Posts: 94
Are u referring to Q3 at the end of chapter 1.If so,pl.check : the answers r given as B,D only.The option ur referring to is E.
I have RHE too.It doesn't give
public static int main(String [] arg) ,as a valid declaration.The return type for main() has to be void.
Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
According to the above reply, it doesn't look like this is really an error. However, I believe that book is pretty sound, factually, so I think you'd be pretty well off believing what it says.
Corey


SCJP Tipline, etc.
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9047
    
  10
Check the errata page. This is listed.
"Page 716
3. Which of the following signatures are valid for the main() method entry point of an application? Answer: B and D"

This book can definitely be trusted. It was co-written by one of the authors of the exam.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
My copy of the book also says B,D,and E are the correct answers. That's why you need to check the errata pages.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error (?) in Java2Certification Study guide