已知3个类O、P和Q,类O中定义了一个私有方法F1、一个公有方法F2和一个受保护的方法F3;类P和类Q为类O的派生类,其继承方式如下所示: class P:protected O… class Q:public O… 在关于方法F1的描述中正确的是 (31) 。在关干方法F2的描述中正确的是 (32) 。在关于方法F3的描述中正确的是 (33) 。
A. 类O、P和Q的对象都可以访问方法F2
B. 类P和Q的对象都可以访问方法F2
C. 类O和Q的对象都可以访问方法F2
D. 只有在类P内才能访问方法F2
查看答案
UML提供了4种结构图用于对系统的静态方面进行可视化、详述、构造和文档化。其中 (21) 是面向对象系统建模中最常用的图,用于说明系统的静态设计视图;当需要说明系统的静态实现视图时,应该选择 (22) ;当需要说明体系结构的静态实施视图时,应该选择 (23) 。
A. 构件图
B. 协作图
C. 状态图
D. 部署图
The species of animal that could be reintroduced.
SECTION 3 Questions 21-30Questions 21-25Complete the following sentences using NO MORE THAN THREE WORDS for each gap. () can be given to people without the student’s permission.
Questions 15-17Decide which numbers you would dial in each situation. Write the appropriate letter on your answer sheet. You want the person you are calling in the UK to pay for the call.()
A. 020
B. 0161
C. 999
D. 100
E. 118
F. 00
G. 155
H. 153