Vijitha Kumara wrote:Just to add what has already said. You can't catch any specific checked exception (IOException is one of them) unless try block throws a one. But you can catch unchecked exceptions (RuntimeException).
Shin Kudo wrote:And I think the K&B book has a bug
It's not specifically mentioning which code inside the try block (in what you have posted), and what those exceptions are?
sam jones wrote:I am currently a CS major and was curious when you think it would be suitable for someone to take this test. At the school I go to they offer the 1301 and 1302 programming classes, both of which are Java programming. Is that enough in order to pass the certification course, or would it be more beneficial to finish my degree and then take the test? I was planning on taking the summer off to work, and wanted to get some certification courses done in the down time.