This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I have a problem with the code below. When I trace the execution my code the while loop never executes. Immediately after statement.execute() it jumps to the end of the function. What am i doing wrong? Heres the function. Thanks in advance. I have in bold the last statement executed and the immediately next line.