<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-TW">
		<id>https://fgchen.com/wiki/index.php?action=history&amp;feed=atom&amp;title=SCJP_1.6%E7%89%88%E8%80%83%E9%A1%8C_078</id>
		<title>SCJP 1.6版考題 078 - 修訂歷史</title>
		<link rel="self" type="application/atom+xml" href="https://fgchen.com/wiki/index.php?action=history&amp;feed=atom&amp;title=SCJP_1.6%E7%89%88%E8%80%83%E9%A1%8C_078"/>
		<link rel="alternate" type="text/html" href="https://fgchen.com/wiki/index.php?title=SCJP_1.6%E7%89%88%E8%80%83%E9%A1%8C_078&amp;action=history"/>
		<updated>2026-05-16T00:45:05Z</updated>
		<subtitle>本 Wiki 上此頁面的修訂歷史</subtitle>
		<generator>MediaWiki 1.29.0</generator>

	<entry>
		<id>https://fgchen.com/wiki/index.php?title=SCJP_1.6%E7%89%88%E8%80%83%E9%A1%8C_078&amp;diff=1342&amp;oldid=prev</id>
		<title>Ikk：新頁面:  A developer is creating a class Book, that needs to access class Paper.   The Paper class is deployed in a JAR named myLib.jar.     Which three, taken independently, will allow the de...</title>
		<link rel="alternate" type="text/html" href="https://fgchen.com/wiki/index.php?title=SCJP_1.6%E7%89%88%E8%80%83%E9%A1%8C_078&amp;diff=1342&amp;oldid=prev"/>
				<updated>2013-03-30T06:15:24Z</updated>
		
		<summary type="html">&lt;p&gt;新頁面:  A developer is creating a class Book, that needs to access class Paper.   The Paper class is deployed in a JAR named myLib.jar.     Which three, taken independently, will allow the de...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新頁面&lt;/b&gt;&lt;/p&gt;&lt;div&gt; A developer is creating a class Book, that needs to access class Paper. &lt;br /&gt;
 The Paper class is deployed in a JAR named myLib.jar. &lt;br /&gt;
 &lt;br /&gt;
 Which three, taken independently, will allow the developer to use the Paper class while compiling the Book class?&lt;br /&gt;
  (Choose Three.)&lt;br /&gt;
   A. The JAR file is located at $JAVA_HOME/jre/classes/myLib.jar.&lt;br /&gt;
   B. The JAR file is located at $JAVA_HOME/jre/lib/ext/myLib.jar.&lt;br /&gt;
   C. The JAR file is located at /foo/myLib.jar and a classpath environment variable is set &lt;br /&gt;
      that includes /foo/myLib.jar/Paper.class.&lt;br /&gt;
   D. The JAR file is located at /foo/myLib.jar and a classpath environment variable is set &lt;br /&gt;
      that includes /foo/myLib.jar.&lt;br /&gt;
   E. The JAR file is located at /foo/myLib.jar and the Book class is compiled using &lt;br /&gt;
      javac –cp /foo/myLib.jar/Paper Book.java&lt;br /&gt;
   F. The JAR file is located at /foo/myLib.jar and the Book class is compiled using &lt;br /&gt;
      javac -d /foo/myLib.jar Book.java&lt;br /&gt;
   G. The JAR file is located at foo/myLib.jar and the Book class is compiled using &lt;br /&gt;
      javac –classpath /foo/myLib.jar Book.java&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size:medium;&amp;quot;&amp;gt;解答&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size: medium;&amp;quot;&amp;gt;Ans: B D G    &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size:medium;&amp;quot;&amp;gt; 解說:&lt;br /&gt;
 一個程式發展者正在建立一個類別Book，這個類別必須存取類別Paper，類別Paper被佈署在一個名為myLib.jar的JAR檔案，&lt;br /&gt;
 下列那三個可以分別地被這個發展者用來使用類別Paper，在編譯類別Book時&lt;br /&gt;
 $JAVA_HOME/jre/lib/ext是Java執行環境預設放置JAR檔的地方&lt;br /&gt;
 若不是放在這個地方，就要配合classpath的設定或指定，如答案BDG&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/span&amp;gt;	&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
{{SCJP 1.6版考題講解}}&lt;/div&gt;</summary>
		<author><name>Ikk</name></author>	</entry>

	</feed>