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.
The answer in K&B is hello throwit caught finally after
My doubt is how come "after" is printed, when an exception occurs doesn't the code exits the VM after the finally or is it if the exception is caught it executes the code to the bottom of the method stack call.
That's right. If the exception is caught, program will follow instructions in exception block. If there is no catch exception block, the exception will be thrown back to JVM and program will be aborted with error messages.