2022.01.14
[1Z0-808][OCAJP] Dump 문제 91~100
[1Z0-808][OCAJP] Dump 문제 91~100 문제 91 Given : public class App { public static void main(String[] args) { Boolean[] bool = new Boolean[2]; bool[0] = new Boolean(Boolean.parseBoolean("true")); bool[1] = new Boolean(null); System.out.println(bool[0] + " " + bool[1]); } } Q. What is the result? A true null B Compilation fails C true false D A NullPointerException is thrown at runtime 정답 C 해설/결과 Boo..