<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"><channel><title>MagicLen</title><link>https://magiclen.org/tag/1z0-809/feed</link><description>多元化原創文章，內容包羅萬象，有程式語言、網站應用、軟體介紹、硬體介紹、作業系統、旅行遊記、專題採訪、益智問題、文學創作，以及作者們的知識分享和作品分享。</description><language>zh-TW</language><lastBuildDate>Thu, 9 Apr 2026 15:14:55 +0000</lastBuildDate><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>8</sy:updateFrequency><sy:updateBase>1970-01-01T00:00+00:00</sy:updateBase><item><title>[OCPJP]TreeMap的用法</title><link>https://magiclen.org/ocpjptreemap%E7%9A%84%E7%94%A8%E6%B3%95</link><description><![CDATA[    <img src="https://magiclen.org/wp-content/uploads/2016/02/java-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2016/02/java-220x162.png 1x, https://magiclen.org/wp-content/uploads/2016/02/java-440x324.png 2x, https://magiclen.org/wp-content/uploads/2016/02/java-660x486.png 3x" alt="">
What is the result?

A. {1007 &#x3D; A, 1002 &#x3D; C, 1001 &#x3D; B, 1003 &#x3D; B}
B. {1001 &#x3D; B, 1002 &#x3D; C, 1003 &#x3D; B, 1007 &#x3D; A}
C. {1002 &#x3D; C, 1003 &#x3D; B, 1007 &#x3D; A}
D. {1007 &#x3D; A, 1001 &#x3D; B, 1003 &#x3D; B, 1002 &#x3D; C}]]></description><category>題庫解析</category><category>Java</category><category>1Z0-809</category><category>OCPJP</category><guid>https://magiclen.org/ocpjptreemap%E7%9A%84%E7%94%A8%E6%B3%95</guid><pubDate>Tue, 24 May 2016 13:40:20 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>[OCPJP]如何印出「Rat Cat Lion Tiger 」？</title><link>https://magiclen.org/ocpjp-how-to-print-rat-cat-lion-tiger</link><description><![CDATA[    <img src="https://magiclen.org/wp-content/uploads/2016/02/java-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2016/02/java-220x162.png 1x, https://magiclen.org/wp-content/uploads/2016/02/java-440x324.png 2x, https://magiclen.org/wp-content/uploads/2016/02/java-660x486.png 3x" alt="">
Which code fragment should be inserted at line n1 to enable the code to print Rat Cat Lion Tiger?

A. Arrays.sort(strArray, CheckClass::checkValue);
B. Arrays.sort(strArray, (CheckClass::new)::checkVa...]]></description><category>題庫解析</category><category>Java</category><category>1Z0-809</category><category>OCPJP</category><guid>https://magiclen.org/ocpjp-how-to-print-rat-cat-lion-tiger</guid><pubDate>Tue, 24 May 2016 13:36:03 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>[OCPJP]複製檔案</title><link>https://magiclen.org/ocpjp-copy-file</link><description><![CDATA[    <img src="https://magiclen.org/wp-content/uploads/2016/02/java-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2016/02/java-220x162.png 1x, https://magiclen.org/wp-content/uploads/2016/02/java-440x324.png 2x, https://magiclen.org/wp-content/uploads/2016/02/java-660x486.png 3x" alt="">
What is the result?

A. A file with the name log.txt is created in the /data directory and the content of the /data/december/log.txt file is copied to it.
B. The program executes successfully and does...]]></description><category>題庫解析</category><category>Java</category><category>1Z0-809</category><category>OCPJP</category><guid>https://magiclen.org/ocpjp-copy-file</guid><pubDate>Tue, 24 May 2016 13:15:45 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>[OCPJP]覆寫能拋出例外的方法</title><link>https://magiclen.org/ocpjp-override-throw-exception</link><description><![CDATA[    <img src="https://magiclen.org/wp-content/uploads/2016/02/java-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2016/02/java-220x162.png 1x, https://magiclen.org/wp-content/uploads/2016/02/java-440x324.png 2x, https://magiclen.org/wp-content/uploads/2016/02/java-660x486.png 3x" alt="">
Which modification enables the code fragment to print Happy Journey!?

A. Replace line n1 with public void ride() throws FuelNotAvailException {
B. Replace line n1 with protected void ride() throws...]]></description><category>題庫解析</category><category>Java</category><category>1Z0-809</category><category>OCPJP</category><guid>https://magiclen.org/ocpjp-override-throw-exception</guid><pubDate>Tue, 24 May 2016 12:50:19 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>[OCPJP]Path物件的resolve方法</title><link>https://magiclen.org/ocpjp-path-resolve</link><description><![CDATA[    <img src="https://magiclen.org/wp-content/uploads/2016/02/java-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2016/02/java-220x162.png 1x, https://magiclen.org/wp-content/uploads/2016/02/java-440x324.png 2x, https://magiclen.org/wp-content/uploads/2016/02/java-660x486.png 3x" alt="">
What is the result?

A.
/app/sys/log
/readme/server/exe
B.
/app/log/sys
/server/exe/readme
C.
/app/./sys/log
/readme
D.
/app/./sys/log
/server/exe/readme]]></description><category>題庫解析</category><category>Java</category><category>1Z0-809</category><category>OCPJP</category><guid>https://magiclen.org/ocpjp-path-resolve</guid><pubDate>Sun, 22 May 2016 12:58:44 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>[OCPJP]集合的排序</title><link>https://magiclen.org/ocpjp-collection-sort</link><description><![CDATA[    <img src="https://magiclen.org/wp-content/uploads/2016/02/java-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2016/02/java-220x162.png 1x, https://magiclen.org/wp-content/uploads/2016/02/java-440x324.png 2x, https://magiclen.org/wp-content/uploads/2016/02/java-660x486.png 3x" alt="">
What is the result?

A. [A Guide to Java Tour:3.0, Beginning with Java:2.0]
B. [Beginning with Java:2.0, A Guide to Java Tour:3.0]
C. A compilation error occurs because the Book class does not overrid...]]></description><category>題庫解析</category><category>Java</category><category>1Z0-809</category><category>OCPJP</category><guid>https://magiclen.org/ocpjp-collection-sort</guid><pubDate>Sun, 22 May 2016 12:38:56 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>[OCPJP]類別成員</title><link>https://magiclen.org/ocpjp-static-member</link><description><![CDATA[    <img src="https://magiclen.org/wp-content/uploads/2016/02/java-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2016/02/java-220x162.png 1x, https://magiclen.org/wp-content/uploads/2016/02/java-440x324.png 2x, https://magiclen.org/wp-content/uploads/2016/02/java-660x486.png 3x" alt="">
What is the result?

A. 0
B. 2
C. 3
D. 4
E. 5]]></description><category>題庫解析</category><category>Java</category><category>1Z0-809</category><category>OCPJP</category><guid>https://magiclen.org/ocpjp-static-member</guid><pubDate>Sun, 22 May 2016 12:27:34 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>[OCPJP]介面的預設方法</title><link>https://magiclen.org/ocpjp-interface-default-method</link><description><![CDATA[    <img src="https://magiclen.org/wp-content/uploads/2016/02/java-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2016/02/java-220x162.png 1x, https://magiclen.org/wp-content/uploads/2016/02/java-440x324.png 2x, https://magiclen.org/wp-content/uploads/2016/02/java-660x486.png 3x" alt="">
Which statement is true?

A. Moveable can be used as below:
Moveable&lt;Integer&gt; animal &#x3D; n -&gt; System.out.println(&quot;Running&quot; + n);
animal.run(100);
animal.walk(20);
B. Moveable can be used as below:
Movea...]]></description><category>題庫解析</category><category>Java</category><category>1Z0-809</category><category>OCPJP</category><guid>https://magiclen.org/ocpjp-interface-default-method</guid><pubDate>Sat, 21 May 2016 22:30:41 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>[OCPJP]assertion(assert)的用法2</title><link>https://magiclen.org/ocpjp-assertion-2</link><description><![CDATA[    <img src="https://magiclen.org/wp-content/uploads/2016/02/java-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2016/02/java-220x162.png 1x, https://magiclen.org/wp-content/uploads/2016/02/java-440x324.png 2x, https://magiclen.org/wp-content/uploads/2016/02/java-660x486.png 3x" alt="">
What is the result of running the code with the -ea option?

A. -10
B. 0
C. An AssertionError is thrown.
D. A compilation error occurs.]]></description><category>題庫解析</category><category>Java</category><category>1Z0-809</category><category>OCPJP</category><guid>https://magiclen.org/ocpjp-assertion-2</guid><pubDate>Sat, 21 May 2016 22:23:14 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>[OCPJP]如何封裝？</title><link>https://magiclen.org/ocpjp-how-to-encapsulate</link><description><![CDATA[    <img src="https://magiclen.org/wp-content/uploads/2016/02/java-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2016/02/java-220x162.png 1x, https://magiclen.org/wp-content/uploads/2016/02/java-440x324.png 2x, https://magiclen.org/wp-content/uploads/2016/02/java-660x486.png 3x" alt="">
Which action encapsulates the Vehicle class?

A. Make the Vehicle class public.
B. Make the name variable public.
C. Make the setName method public.
D. Make the name variable private.
E. Make the setN...]]></description><category>題庫解析</category><category>Java</category><category>1Z0-809</category><category>OCPJP</category><guid>https://magiclen.org/ocpjp-how-to-encapsulate</guid><pubDate>Sat, 21 May 2016 22:08:41 +0800</pubDate><dc:creator>Magic Len</dc:creator></item></channel></rss>