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.
Hello, and welcome! I look forward to checking out the book.
I am curious to know how much the test (and the book) focus on trick questions as opposed to general knowledge. In some of the other books that I read, there seems to be a lot of focus on things that a season programmer doesn't think so much about day-to-day, and really shouldn't given that their IDE and compiler are there to help them. While things like the default capacity of an initialized StringBuffer is important and plays a big role in optimization of your code - it is not something that programmers always commit to readily accessible memory, and instead tend to look up with they need to.
I'm curious to know how much of the test focuses on more memorization of facts like that, and how much of it focuses on things like the new features of Project Coin, how to correctly use try/catch blocks, different types of exceptions, proper use of the BigDecimal, etc. Also, what are you thoughts on the percentage that focuses on core java versus new features introduced in 7 (and perhaps 6)
While the OCPJP does cover some things that aren't common, the OCAJP does not. Most of the questions are things a practicing programmer would know. Attention to detail and practice are key to doing well though.
I concur with Jeanne comments. From the perspective of the book, I did not devote much space to sample questions as there are numerous resources devoted to that topic. Instead, I was more concerned about presenting the basic of the language as they pertain to the exam and hopefully provide a foundation that an individual can use to address the more difficult problems that occur when writing code and in answering "trick" questions. I share your frustration with "trick" questions but that is often a problem with multiple choice type tests.