MagicLen

標籤

OCAJP - 第 9 頁

Oracle Certified Associate Java SE Programmer (OCAJP).

共 230 篇文章

[OCAJP] 字串相等 2

Which code fragment, when inserted at line n1, enables the App class to print Equal? A. String str3 = str2; if (str1 == str3) B. if (str1.equalsIgnoreCase(str2)) C. String str3 = str2; if (str1.equal...

[OCAJP] 例外 2

Which three are advantages of the Java exception mechanism? A. Improves the program structure because the error handling code is separated from the normal program function B. Provides a set of standa...

[OCAJP] 印出物件

What is the output? A. planets Earth 1 B. [LPlanets.Planet;@15db9742 Earth 1 C. [LPlanets.Planet;@15db9742 Planets.Planet@6d06d69c 1 D. [LPlanets.Planet;@15db9742 Planets.Planet@6d06d69c [LPlanets.Mo...