标签:
What will be the boolean flag value to reach the finally block?
public class JPTQuestion4 { public static void main(String[] args) {
try { if (flag) { while (true) { } } else { System.exit(1); } } finally { System.out.println("In Finally"); } } }
又是一道坑爹的题目,结果竟然是:................................................没答案。
Java Programming Test Question 4
标签:
原文地址:http://www.cnblogs.com/565261641-fzh/p/5703804.html