阿摩線上測驗 登入

申論題資訊

試卷:104年 - SCJP 1-50#41416
科目:OJCP(SCJP)
年份:104年
排序:0

申論題內容

第34題 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-a relationships can be implemented using instance variables. (D) Is-a relationships can be implemented using the extends keyword. (E) Is-a relationships can be implemented using the implements keyword. F. The relationship between Movie and Actress is an example of an is-a relationship. G. An array or a collection can be used to implement a one-to-many has-a relationship.

詳解 (共 6 筆)

詳解 提供者:BlackFloat
An array or a collection can be used to implement a one-to-many has-a relationship.
詳解 提供者:R GT
22222222222222222222222222222222222222222
詳解 提供者:jack556653
c,d,e,g
詳解 提供者:lovefutiger
NICE
詳解 提供者:朱耕誼
詳解 提供者:egg734631
Which four statements are true? (Choose four.) (C) Has-a relationships can be implemented using instance variables. (D) Is-a relationships can be implemented using the extends keyword. (E) Is-a relationships can be implemented using the implements keyword. G. An array or a collection can be used to implement a one-to-many has-a relationship.