<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" 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/cn/tag/ocpjp/</link><description>多元化原创文章，内容包罗万象，有编程语言、网站应用、软件介绍、硬件介绍、操作系统、旅行游记、专题采访、益智问题、文学创作，以及作者们的知识分享和作品分享。</description><language>zh-CN</language><lastBuildDate>Sun, 22 Nov 2026 18:44:44 +0800</lastBuildDate><atom:link href="https://magiclen.org/cn/tag/ocpjp/feed/" rel="self" type="application/rss+xml"/><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>8</sy:updateFrequency><sy:updateBase>1970-01-01T00:00+00:00</sy:updateBase><item><title>Oracle Certified Professional, Java SE 8 Programmer (OCPJP)国际原厂认证</title><link>https://magiclen.org/cn/ocajp-ocpjp/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2016/07/P1060705-220x162.jpg" srcset="https://magiclen.org/wp-content/uploads/2016/07/P1060705-220x162.jpg 1x, https://magiclen.org/wp-content/uploads/2016/07/P1060705-440x324.jpg 2x, https://magiclen.org/wp-content/uploads/2016/07/P1060705-660x486.jpg 3x" alt>
笔者自高中二年级之后就开始在学承电脑上 Java 课程，因为自己本身有在使用 Linux，所以非常了解 Java 语言跨平台的好处，自从接触 Java 编程语言之后就爱上了它，之后还陆续买了许多本 Java 的书籍。后来拿到了 TQC+ 的 Java 编程专业人员认证，觉得应该要再来拿拿 Oracle 的原厂认证，好跟国际接轨，便报考了 Java 8 的 Oracle Certified Asso...]]></description><category>Java</category><category>OCAJP</category><category>OCPJP</category><category>Oracle</category><guid>https://magiclen.org/cn/ocajp-ocpjp</guid><pubDate>Sat, 16 Jul 2016 20:50:35 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>[OCPJP]TreeMap 的用法</title><link>https://magiclen.org/cn/ocpjp-treemap/</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 = A, 1002 = C, 1001 = B, 1003 = B}
B. {1001 = B, 1002 = C, 1003 = B, 1007 = A}
C. {1002 = C, 1003 = B, 1007 = A}
D. {1007 = A, 1001 = B, 1003 = B, 1002 = C}]]></description><category>题库解析</category><category>Java</category><category>1Z0-809</category><category>OCPJP</category><guid>https://magiclen.org/cn/ocpjp-treemap</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/cn/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) ::checkV...]]></description><category>题库解析</category><category>Java</category><category>1Z0-809</category><category>OCPJP</category><guid>https://magiclen.org/cn/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/cn/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/cn/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/cn/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/cn/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/cn/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/cn/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/cn/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/cn/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/cn/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/cn/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/cn/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&#60;Integer&#62; animal = n -&#62; System.out.println(&#34;Running&#34; + 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/cn/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/cn/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/cn/ocpjp-assertion-2</guid><pubDate>Sat, 21 May 2016 22:23:14 +0800</pubDate><dc:creator>Magic Len</dc:creator></item></channel></rss>