boolean bool = true; if(bool = false) { System.out.println(“a”); } else if (bool) { System.out.println(“c”); } else if (!bool) { System.out.println(“c”); } else { System.out.println(“d”); } What is the result?()  

A .  a B .  b C .  c D .  d E .  Compilation fails.

时间:2022-09-21 06:32:14 所属题库:SCJP程序员认证考试题库

相似题目