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?
Joined: Jul 13, 2001
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.
Joined: Dec 20, 2001
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