Which of the following options is true for the following program: try { if (choice) { while (true) } else { system .exit(1): } }finally { codetocleanup(); }
Runtime Exception
finally block will be executed
finally block will not be executed
Compilation error in else block