This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Remember that the exam taking environment is very constrained. In general most questions will be stated using no more than 12 lines of code - of course there will be longer bits of code to read thru, but most questions will be stated using 12 lines of code or fewer.
Because of this, the questions often use weird constructs like empty classes, so that the code can focus on the more important issues of the question. In other words, don't expect the code in the questions to use anything like best practices, best practices are a low priority for the folks who create the actual exam questions. Also expect to see horrible stuff like this:
Just remember - the exam creators are trying to jam a lot of code into 12 lines - it gets ugly!
Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)