A catch block C is reachable iff both of the following are true:
Some expression or throw statement in the try block is reachable and can throw an exception whose type is assignable to the parameter of the catch clause C. (An expression is considered reachable iff the innermost statement containing it is reachable.)
Originally posted by Rowan Chattaway:
cheers guys, I get that now, but whether I'd recognise that problem in similar questions is another matter! I know that Val's mock is supposed to be harder than the actual exam, but some of these questions are fiendishly sneaky! hopefully, the actual exam will be significantly easier or I'm in trouble!.
You can't expect to wield supreme executive power just because
Two software engineers solve most of the world's problems in one K&R sized bookhttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton