About Question enthuware.ocpjp.v7.2.1350 :
Posted: Thu Oct 10, 2013 5:09 pm
Hi Paul, in this question it says it will throw an exception, but while there are no other valid answers I think this is only valid if there is any result. If the resultset is empty the for loop will not run and it will not throw an exception so this code MAY throw an exception, but unless specified in the question that the resultset is not empty, it might not throw anything at all.