This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Should I be concerned about import statements with SCJP certification test? For example: In the Sierra/Bates Java 5 study guide, page 613, question 5, fails compilation as written. I had to include "import java.util.*" which was excluded from the given text.
Thanks for your time and consideration.
Software development is an exercise in thinking not coding.
Well if you have read the book carefully, it says that you must watch the line numbers of the code in questions. If the line numbers start with 1, then it means that the complete code is given and you must think that there is nothing extra in the code. But if the line number starts from let's say 10, then it means that there is some code in those line which you can depend on that will import required packages and declare any undeclared things...