Assume that everything else is correct . When i ran this code in the IDE i'm getting Illegal Start of expression at line number labelled PROBLEM. I faced this code in a mock question which had three answers a.) 12 b.)Compile time
3.) Runtime. so i guess it will be compile time error but I'm not able to understand the cause of the error. Please help
thanks John................the topic is resolved. Before closing i would like to ask you that I'm preparing for ocjp 6 exam and I'm currently following KB Scjp 6 Book. Should i also study JLS pdf.? or the book and mock exams are sufficient....
Joined: May 31, 2011
The book and mock exams should be sufficient. We have also have a page for mock exam links - ScjpMockTests.