多选题Which four are true?()AHas-a relationships should never be encapsulated.BHas-a relationships should be implemented using inheritance.CHas-a relationships can be implemented using instance variables.DIs-a relationships can be implemented using the exten

题目
多选题
Which four are true?()
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

An array or a collection can be used to implement a one-to-many has-a relationship.

G

The relationship between Movie and Actress is an example of an is-a relationship.


相似考题
参考答案和解析
正确答案: E,B
解析: 暂无解析
更多“Which four are true?()”相关问题
  • 第1题:

    A recently ordered server came standard with one 3.0GHz processor. It is capable of handling fourtotal processors. Which of the following processor combinations can be used in this server?()

    • A、 One, two, three or four processors
    • B、 One, two, or three processors
    • C、 One, three, or four processors
    • D、 One, two or four processors

    正确答案:D

  • 第2题:

    Which of the following RAID arrays should be used to achieve the BEST fault tolerance?()

    • A、Four drives with RAID 0
    • B、Four drives with RAID 3
    • C、Four drives with RAID 5
    • D、Four drives with RAID 10

    正确答案:D

  • 第3题:

    多选题
    Consider each of the choices separately and select all that apply.  If a father of four children carries the Huntington’s mutation, which of these is true?
    A

    Two of the four children may inherit the mutation.

    B

    Two of the four children may have the disease.

    C

    Two of the four children may end up disease free.


    正确答案: A,C
    解析:
    根据“If one parent carries the mutation, each offspring has a 50-50 chance of inheriting the mutated gene”可知,本题选A、B、C三项。

  • 第4题:

    单选题
    Which statement about the hospital space on a cargo ship is TRUE().
    A

    The hospital may be used for disciplinary confinement if it is not being used for treatment

    B

    The hospital space must have both a bathtub and shower

    C

    A hospital is required on all vessels with a crew of 12 or more if it makes overnight voyages

    D

    If a ship has a crew of forty-five who do not have their own room,the hospital must have four berths


    正确答案: D
    解析: 暂无解析

  • 第5题:

    单选题
    According to the passage, which of the following statements is NOT TRUE?
    A

    This pipeline will cross four states.

    B

    This pipeline is l,172 miles long.

    C

    All the protesters are from the Standing Rock Sioux. D Neither side of the dispute is willing to compromise.


    正确答案: C
    解析:

  • 第6题:

    单选题
    According to the passage, which of the following is TRUE?
    A

    Freedman and his colleagues hired 400,000 Americans to collect data.

    B

    About four hundred thousand Americans worked for Freedman's team full time for 13 years.

    C

    People who took part in Freedman's research are about 50 to 70 years old.

    D

    People who are 50 to 70 years old seldom drink coffee


    正确答案: B
    解析:

  • 第7题:

    多选题
    Which four are types of functions available in SQL? ()
    A

    string

    B

    character

    C

    integer

    D

    calendar

    E

    numeric

    F

    translation

    G

    date

    H

    conversion


    正确答案: H,G
    解析: 暂无解析

  • 第8题:

    问答题
    four switches, which one will be root switch.(no pic).

    正确答案: lowest bridge ID
    解析: 暂无解析

  • 第9题:

    多选题
    Option 10A (back-to-back VRF) is an implementation of inter-AS MPLS VPN. Which of four statementsabout option 10A are not true?()
    A

    MPLS is required between the ASBRs.

    B

    ASBR must hold all routing information.

    C

    It is a scalable solution.

    D

    It is a simple solution.

    E

    MP-EBGP is used to exchange routes between ASBRs.


    正确答案: D,E
    解析: 暂无解析

  • 第10题:

    多选题
    Which four types of objects can be thrown using the throw statement?()
    A

    Error

    B

    Event

    C

    Object

    D

    Exception

    E

    Throwable

    F

    RuntimeException


    正确答案: F,D
    解析: 暂无解析

  • 第11题:

    four switches, which one will be root switch.(no pic).


    正确答案:lowest bridge ID

  • 第12题:

    A user has a small network of four computers that they want to connect to a single cable modem. Which of the following devices would allow the user to do this?()

    • A、Four port switch
    • B、Four port wireless router
    • C、Four port WAP
    • D、Four port hub

    正确答案:B

  • 第13题:

    多选题
    Which four of these are MPLS label header fields? ()
    A

    Label

    B

    VPI VCI

    C

    EXP

    D

    TTL

    E

    FCS

    F

    S flag


    正确答案: C,A
    解析: 暂无解析

  • 第14题:

    单选题
    Which of the following statements is true regarding the installation of piston rings on two-stroke/cycle, diesel engines as compared to four-stroke/cycle, diesel engines?()
    A

    In a two-stroke/cycle engine, the rings run hotter, requiring the end gap to be greater

    B

    Some provision must be made in a two-stroke/cycle engine to keep the rings from binding in the ports

    C

    No gap is required to exist between the ends of the ring when cold in a two-stroke/cycle engine, but a small gap is required in a four-stoke/cycle engine

    D

    The gaps should be staggered on either side of a piston in a two-stroke/cycle engine, while staggering is not necessary in a four-stroke/cycle engine


    正确答案: A
    解析: 暂无解析

  • 第15题:

    多选题
    Which two statements are true with respect to the maintenance window?() .
    A

    A DBA can enable or disable an individual task in all maintenance windows.

    B

    A DBA cannot change the duration of the maintenance window after it is created.

    C

    In case of a long maintenance window,all Automated Maintenance Tasks are restarted every four hours.

    D

    A DBA can control the percentage of the resource allocated to the Automated Maintenance Tasks in each window


    正确答案: C,B
    解析: 暂无解析

  • 第16题:

    多选题
    Which four types of object can be thrown using the throw statement?()
    A

    Error

    B

    Event

    C

    Object

    D

    Exception

    E

    Throwable

    F

    Runtime Exception


    正确答案: E,A
    解析: 暂无解析

  • 第17题:

    单选题
    Which of the following about the New Jersey study is TRUE?
    A

    There is no evidence to support the New Jersey study.

    B

    New Jersey has created a new Head Start to help disadvantaged kids.

    C

    Sending children to school at the age of four is not going to help.

    D

    Two years of pre-kindergarten were better than one.


    正确答案: D
    解析:

  • 第18题:

    多选题
    Which four statements about NetFlow are true?()
    A

    NetFlow records bidirectional IP traffic flow.

    B

    NetFlow export can be implemented over IPv4.

    C

    NetFlow export can be implemented over IPv6.

    D

    NetFlow records multicast IP traffic flow.

    E

    NetFlow records ingress traffic.

    F

    NetFlow records egress traffic.


    正确答案: B,C
    解析: 暂无解析

  • 第19题:

    多选题
    Which four are true regarding the Workspace Manager in Oracle9i? ()
    A

    Automatically versions all tables.

    B

    Automatically installed with Oracle9i.

    C

    Merges changes with parent rows or discard changes.

    D

    Provides mechanism to identify and resolve conflicts.

    E

    Allows for version enabling tables by use of a packages procedure.


    正确答案: A,E
    解析: 暂无解析