单选

● 以下关于面向对象方法中继承的叙述中,错误的是 (22) 。

(22)

  • A. 继承是父类和子类之间共享数据和方法的机制
  • B. 继承定义了类与类之间的一种关系
  • C. 继承关系中的子类将拥有父类的全部属性和方法
  • D. 继承仅仅允许单重继承,即不允许一个子类有多个父类
参考答案
您可能感兴趣的试题

● Observe that for the programmer, as for the chef, the urgency of the patron(顾客) may govern the scheduled completion of the task, but it cannot govern the actual completion.

  • An omelette(煎鸡蛋), promised in two minutes, may appear to be progressing nicely. But when it has not set in two minutes, the customer has two choices—waits or eats it raw.    Software customers have had  (71)  choice
  • Clearly two solutions are needed. We need to develop and publicize productivity figures, bug-incidence figures, estimating rules, and so on. The whole profession can only profit from  (75) such data. Until estimating is on a sounder basis,
  • A. no  
  • B. the same 
  • C. other  
  • D. lots of    (72)
  • A.testers 
  • B. constructors
  • C. managers    
  • D. architects    (73)

● HTML语言中,可使用 (68) 标签将脚本插入HTML 文档。 

(68)

  • A.  
  • B.