public static void main(String[] args) { <br /> String str = “null‟; <br /> if (str == null) { <br /> System.out.println(”null”); <br /> } else (str.length() == 0) { <br /> System.out.println(”zero”); <br /> } else { <br /> System.out.println(”some”); <br /> } <br /> } <br /> What is the result?()
A、 null
B、 zero
C、 some
D、 Compilation fails.
E、 An exception is thrown at runtime.