试题详情

试题内容

在面向对象技术中,不同的对象在收到同一消息时可以产生完全不同的结果,这一现象称为(39),它由(40)机制来支持。利用类的层次关系,把具有通用功能的消息存放在高层次,而不同的实现这一功能的行为放在较低层次,在这些低层次上生成的对象能够给通用消息以不同的响应。  
(39)
A.绑定  
B.继承  
C.消息  
D.多态     
(40)  
A.绑定  
B.继承  
C.消息  
D.多态  
查看答案

软题库参考答案:D、B(仅供参考)

软题库解析:正在加载....

你可能感兴趣的试题

3题:以下关于中断方式与DMA方式的叙述中,正确的是( )
A、中断方式与DMA方式都可实现外设与CPU之间的并行在工作
B、程序中断方式和DMA方式在数据传输过程中都不需要CPU的干预
C、采用DMA方式传输数据的速度比程序中断方式的速度慢
D、程序中断方式和DMA方式都不需要CPU保护现场
33题:采用面向对象方法进行系统开发时,以下与新型冠状病毒有关的对象中,存在“一般-特殊’关系的是(  )。
A.确诊病人和治愈病人
B.确诊病人和疑似病人
C.医生和病人
D.发热病人和确诊病人
54题:

下面的程序段违反了算法的( )原则。
Void sam()
{ int n=2;
while(!odd(n))
n+=2;
printf(n);
}
A、有穷性 
B、确定性 
C、可行性 
D、健壮性 

57题:

Teams are required for most engineering projects. Although some small hardware or software products can be developed by individuals, the scale and complexity of modem systems is such, and the demand for short schedules so great, that it is no longer (1) for one person to do most engineering jobs. Systems development is a team (2) ,and the effectiveness of the team largely determines the  (3) of the engineering.     Development teams often behave much like baseball or basketbal41题:

消息摘要算法MD5(Message Digest)是一种常用的Hash函数。MD5算法以一个任意长数据块作为输入,其输出为一个( )比特的消息摘要。
A、128 
B、160 
C、256 
D、512 

17题:

风险的优先级通常是根据(  )设定。
A. 风险影响 (risk impact)
B. 风险概率(risk probability)
C. 风险暴露 (risk exposure)
D. 风险控制(risk control)