MagicLen

分類

主要文章 - 第 126 頁

MagicLen 的主要文章,分成「科學與科技」和「社會與生活」兩大類。前者以程式設計、作業系統、網路與軟硬體的教學和心得為主,後者包含語言學習、創作、旅遊、開箱與各種生活主題,另外還有本站公告。

共 1660 篇文章

[OCAJP]Lambda 用法

Which of the following will create instance of Runnable type? A. Runnable run = () -> {System.out.println("Run");} B. Runnable run = () -> System.out.println("Run"); C. Runnable run = () > System.out...

[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...