This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Can anyone tell me if we need to memorize the various Exception and Runtime classes off by heart in order to able to answer questions where overriding methods using various exceptions come into play? I.E. what I am saying is in the real exam, will it tell you that for example, IOException is a checked exception and NumberFormatException is a runtime exception if you were determining if say a piece of code would compile if using overriding methods with these vaious exceptions tagged onto the end of each of the methods?
You don't need to memorize the various exceptions for the exam. However, if you've studied exceptions at all, a few major ones should jump out at you as being either checked or unchecked exceptions. For example, IOException is checked (as you pointed out) and things like ArrayIndexOutOfBoundsException is unchecked. Knowing a few of the more common ones by heart wouldn't hurt and, frankly, I think you'll end up knowing them simply from studying exceptions. I hope that helps, Corey