MagicLen

標籤

OCAJP - 第 15 頁

Oracle Certified Associate Java SE Programmer (OCAJP).

共 230 篇文章

[OCAJP] 字串相等

Which code fragment, when inserted at line 9, enables the code to print true? A. String str2 = str1; B. String str2 = new String(str1); C. String str2 = sb1.toString(); D. String str2 = "Duke";

[OCAJP] 除以零

What is the result? A. Invalid Divisor Divisor Changed Successful Division 30 B. Invalid Divisor Successful Division 30 C. Invalid Divisor Exception in thread "main" java.lang.ArithmeticException: / ...