网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
多选题
Which two are true about has-a and is-a relationships?()
A

Inheritance represents an is-a relationship.

B

Inheritance represents a has-a relationship.

C

Interfaces must be used when creating a has-a relationship.

D

Instance variables can be used when creating a has-a relationship.


参考答案

参考解析
解析: 暂无解析
更多 “多选题Which two are true about has-a and is-a relationships?()AInheritance represents an is-a relationship.BInheritance represents a has-a relationship.CInterfaces must be used when creating a has-a relationship.DInstance variables can be used when creating a has-a relationship.” 相关考题
考题 Given:Which three are true?() A.Cat is-a AnimalB.Cat is-a JumperC.Dog is-a AnimalD.Dog is-a JumperE.Cat has-a AnimalF.Beagle has-a TailG.Beagle has-a Jumper

考题 Given:Which two are true? () A.The output is mm.B.The output is mc.C.Component is-a Meter.D.Component has-a Meter.E.DeluxeThingy is-a Component.F.DeluxeThingy has-a Component.

考题 Which of the following is NOT true about the centrifugal separator? A.It can be applied to separate two liquidsB.It cannot separate solids which contaminated in the oil.C.It consists of purifier and clarifierD.The centrifuge arranged to separate two liquids is known as purifier

考题 Given that: Gadget has-a Sprocket and Gadget has-a Spring and Gadget is-a Widget and Widget has-a Sprocket Which two code fragments represent these relationships? () A.B.C.D.E.F.

考题 Which two statements are true about AH?() (Choose two.) A. AH provides data integrity.B. AH is identified by IP protocol 50.C. AH is identified by IP protocol 51.D. AH cannot work in conjunction with ESP

考题 Which two statements are true about precedence values in policy?() (Choose two.) A. 1 is the default precedence.B. A lower number is preferred.C. A higher number is preferred.D. 100 is the default precedence.

考题 What is true about the Cisco SBR methodology?()A、provides an opportunity to build short-term consultative relationships with customersB、provides an opportunity to build long-term consultative relationships with customersC、provides an opportunity to build consultative relationships with customersD、provides an opportunity to sell more products

考题 Which two statements are true about L2TP tunnels?() (Choose two.)A、Traffic is clear textB、Traffic is encryptedC、They are initiated by the LNSD、They are initiated by the LAC

考题 Which two statements about the Cisco Nexus 1000V VSM are true?()A、It performs switching decisions and forwarding for the VEMB、It can be run on a virtual machineC、It can be used for remote VEM switching Iine cards

考题 Which two statements about the IS -IS routing protocol are true?()A、IS - IS is capable of supporting IPv4 and IPv6.B、IS - IS is only capable of supporting IPv4 and CLNS.C、IS - IS routers use ES - IS hellos (ESH) to establish and to maintain neighbor relationships.D、IS - IS routers run the Bellman - Ford algorithm against their LSDBs to pick the best paths.E、Level 1 routers learn about paths within the area of which they are a part.F、Level 2 routers learn about paths both within areas and between areas.

考题 Which statement is true about the digital to analog conversion process?()A、the two steps of digital to analog conversion are decompression and reconstruction of the analog signalB、the two steps of digital to analog conversion are decoding and filteringC、the two steps of digital to analog conversion are decompression and filtering of the analog signalD、the two steps of digital to analog conversion are quantization and decoding

考题 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.

考题 public class Team extends java.util.LinkedList {  public void addPlayer(Player p) {  add(p);  }  public void compete(Team opponent) { /* more code here */ }  }  class Player { /* more code here */ }  Which two are true?()A、 This code will compile.B、 This code demonstrates proper design of an is-a relationship.C、 This code demonstrates proper design of a has-a relationship.D、 A Java programmer using the Team class could remove Player objects from a Team object.

考题 下面说法正确的是()A、继承表示is-a的关系B、继承表示has-a的关系C、要表示has-a的关系必须使用接口D、可以使用实例变量表示has-a的关系

考题 Which two statements are true about precedence values in policy?() (Choose two.)A、1 is the default precedence.B、A lower number is preferred.C、A higher number is preferred.D、100 is the default precedence.

考题 Which four statements 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.

考题 多选题Given: Which three are true?()ACat is-a AnimalBCat is-a JumperCDog is-a AnimalDDog is-a JumperECat has-a AnimalFBeagle has-a Tail

考题 多选题Which two statements are true about L2TP tunnels?() (Choose two.)ATraffic is clear textBTraffic is encryptedCThey are initiated by the LNSDThey are initiated by the LAC

考题 多选题Given: 10. interface Jumper { public void jump(); } ...   20. class Animal {} ...   30. class Dog extends Animal {   31. Tail tail;   32. }   ...   40. class Beagle extends Dog implements Jumper{   41. public void jump() {}  42. }   ...   50. class Cat implements Jumper{   51. public void jump() {}   52. }. Which three are true?()ACat is-a JumperBCat is-a AnimalCDog is-a JumperDDog is-a AnimalEBeagle has-a JumperFCat has-a AnimalGBeagle has-a Tail

考题 多选题Which four statements 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 extends keyword.EIs-a relationships can be implemented using the implements keyword.FAn array or a collection can be used to implement a one-to-many has-a relationship.

考题 多选题public class Team extends java.util.LinkedList {  public void addPlayer(Player p) {  add(p);  }  public void compete(Team opponent) { /* more code here */ }  }  class Player { /* more code here */ }  Which two are true?()AThis code will compile.BThis code demonstrates proper design of an is-a relationship.CThis code demonstrates proper design of a has-a relationship.DA Java programmer using the Team class could remove Player objects from a Team object.

考题 多选题Which two statements are true about AH?() (Choose two.)AAH provides data integrity.BAH is identified by IP protocol 50.CAH is identified by IP protocol 51.DAH cannot work in conjunction with ESP

考题 单选题Which of the following is NOT true about people with good mental health?A They are emotionally, spiritually, intellectually and creatively developed.B They are confident, assertive, and people-aware.C They enjoy mutually satisfying personal relationships.D They choose companionship over solitude.

考题 多选题10. interface Jumper { public void jump(); }  ......  20. class Animal {}  ......  30. class Dog extends Animal { 31. Tail tail; 32. }  ......  40. class Beagle extends Dog implements Jumper {  41. public void jump() { }  42. }  .......  50. class Cat implements Jumper {  51. public void jump() { }  52. }  Which three are true?()ACat is-a AnimalBCat is-a JumperCDog is-a AnimalDDog is-a JumperECat has-a AnimalFBeagle has-a TailGBeagle has-a Jumper

考题 多选题Which two statements are true about IBGP neighbor relationships?()AThe BGP split - horizon rule specifies that routes learned via EBGP are never propagated to other IBGP peers.BThe BGP split horizon rule specifies that routes learned via IBGP are never propagated to other IBGP peers.CA full - mesh IBGP requires that neighbor relationships be established between a ll BGP enabled routers in the autonomous system.DIBGP neighbors must be in different autonomous systems.EAn EGP or static routing is required between IBGP neighbors.

考题 多选题下面说法正确的是()A继承表示is-a的关系B继承表示has-a的关系C要表示has-a的关系必须使用接口D可以使用实例变量表示has-a的关系

考题 多选题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 extends keyword.EIs-a relationships can be implemented using the implements keyword.FAn array or a collection can be used to implement a one-to-many has-a relationship.GThe relationship between Movie and Actress is an example of an is-a relationship.