<?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_034</id>
		<title>SCJP 1.6版考題 034 - 修訂歷史</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_034"/>
		<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_034&amp;action=history"/>
		<updated>2026-04-13T11:42:14Z</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_034&amp;diff=1395&amp;oldid=prev</id>
		<title>Ikk：新頁面:  Which four statements are true? (Choose four.)     A. Has-a relationships should never be encapsulated.     B. Has-a relationships should be implemented using inheritance.     C. Has-...</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_034&amp;diff=1395&amp;oldid=prev"/>
				<updated>2013-03-30T08:02:01Z</updated>
		
		<summary type="html">&lt;p&gt;新頁面:  Which four statements are true? (Choose four.)     A. Has-a relationships should never be encapsulated.     B. Has-a relationships should be implemented using inheritance.     C. Has-...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新頁面&lt;/b&gt;&lt;/p&gt;&lt;div&gt; Which four statements are true? (Choose four.)&lt;br /&gt;
    A. Has-a relationships should never be encapsulated.&lt;br /&gt;
    B. Has-a relationships should be implemented using inheritance.&lt;br /&gt;
    C. Has-a relationships can be implemented using instance variables.&lt;br /&gt;
    D. Is-a relationships can be implemented using the extends keyword.&lt;br /&gt;
    E. Is-a relationships can be implemented using the implements keyword.&lt;br /&gt;
    F. The relationship between Movie and Actress is an example of an is-a relationship.&lt;br /&gt;
    G. An array or a collection can be used to implement a one-to-many has-a relationship. &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: C D E 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;
 那四個敘述是正確的？&lt;br /&gt;
   Has-a 關係應該永遠不能被封裝&lt;br /&gt;
   Has-a 關係應該以繼承的方式實作&lt;br /&gt;
   Has-a 關係可以用物件變數的方式被實現出來&lt;br /&gt;
   Is-a關係可用extends關鍵字實現出來&lt;br /&gt;
   Is-a關係可用implements關鍵字實現出來&lt;br /&gt;
 電影和女演員間的關係是一個Is-a關係的例子&lt;br /&gt;
 一個陣列或一個集合可以被用來實作一對多的has-a關係&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>