单选

已知3个类R、S和T,类R中定义了一个私有方法F1和一个公有方法F2,类S中定义了一个公有方法F3,类S为类R的派生类,类T为类S的派生类,它们的继承方式如下所示:

 class S:public R{…};

 class T:private S{…};

 在关于类S的描述中正确的是(18),在关于类T的描述中正确的是(19)。

  • A.类S的对象可以访问F1,但不能访问F2
  • B.类S的对象可以访问F2,但不能访问F1
  • C.类S的对象既可以访问F1,也可以访问F2
  • D.类S的对象既不能访问F1,也不能访问F2
参考答案
您可能感兴趣的试题

(74)

  • A.hypertext
  • B.computation
  • C.expectation
  • D.bookmark

(75)

  • A.habits signature
  • B.site
  • C.tages
  • D.address

(73)

  • A.victimized
  • B.personate
  • C.identity
  • D.control

(72)

  • A.connecting
  • B.binding
  • C.looking
  • D.contenttagging

Pharming is a scamming practice in which malicious code is installed on a personal computer or server, misdirecting users to(71)Web sites without their knowledge or consent.  Pharming has been called "phishing without a lure."

In phishing, the perpetrator sends out legitimate-(72)E-mails, appearing to come from some of the Web's most popular sites, in ah effort to obtain personal and financial information from individual recipients. But in pharming, larger numbers of computer users can be(73)because it is not necessary to target individuals one by one and no conscious action is required on the part of the victim. In one form. of pharming attack, code sent in an E-mail modifies local host files on a personal computer. The host files convert URLs into the number strings that the computer uses to access Web sites. A computer with a compromised host file will go to the fake Web site even if a user types in the correct Internet address or clicks on an affected(74)entry. Some spyware removal programs can correct the corruption, but it frequently recurs unless the user changes browsing(75).

  • A.few
  • B.fraudulent
  • C.normal
  • D.structured

(70)

  • A.software
  • B.form
  • C.computer
  • D.silicon

(69)

  • A.appliances
  • B.chips
  • C.tools
  • D.means

(67)

  • A.operation
  • B.completeness
  • C.integrity
  • D.interchange

(68)

  • A.identities
  • B.homogeneities
  • C.creations
  • D.operations
¥

订单号:

遇到问题请联系在线客服

订单号:

遇到问题请联系在线客服