首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
在面向对象技术中,多态性的含义是______。
在面向对象技术中,多态性的含义是______。
admin
2010-02-13
49
问题
在面向对象技术中,多态性的含义是______。
选项
A、一个对象可同时指向不同的类的对象
B、同一消息在不同时刻可调用不同的方法
C、对象的生存周期中包含对象的多种状态
D、不同消息可以调用相同的方法
答案
B
解析
多态性是指相同的操作或函数、过程可作用于多种类型的对象上并获得不同的结果。不同的对象,收到同一消息,可能会执行不同的方法。本题正确答案为选项 B。
转载请注明原文地址:https://kaotiyun.com/show/J4jZ777K
本试题收录于:
程序员上午基础知识考试题库软考初级分类
0
程序员上午基础知识考试
软考初级
相关试题推荐
In the following essay, each blank has four choices. Choose the most suitable one from the four choices and write down in the an
关于ATM技术,下列说法中正确的是(27)。
(66)is a one-way function that takes an arbitrarily long piece of plaintext and from it computes a fixed,length bit string.(67)i
Password is a secret series of(69)that enables a user to access a file, computer, or program. On multi-user systems, each user m
(50)标准是国际标准化组织中质量管理和质量保证技术委员会制定的所有标准。
There are several applications called Web(69)that make it easy to access the World Wide Web, two of the most popular being Netsc
假定学生关系是S(S#,SNAME,SEX,AGE),课程关系是C(C#,CNAME,TEACHER),学生选课关系是SC(S#,C#,GRADE)。要查找选修“COMPUTER”课程的“女”学生姓名,将涉及关系(11)。
A typical application of this(71)is ADSL. It is emerging as the technology for home-and small-office Internet connectivity. It p
基于IEEE802.3标准的100Base-Tx网络比10Base-T的数据传输速率提高了10倍,同时网络的覆盖范围(32)。
随机试题
在容器分析中,滴定管的读数应保留小数点后()数字。
蛛网膜下腔出血患者表现不包括
关于女性生殖系统淋巴回流,下列描述错误的是
根据五行相胜,喜胜
急性白血病最常见的炎症是
工程监理招标的标的是()。
实施居民自治的前提是民主监督。()
关于链表的特点,下面的叙述中不正确的是()。
有以下程序main(){inti=1;i=i^i;printf("%d\n",i);}程序运行后的输出结果是
TheotherdayaBritishbusinessman,recentlyhavingvisitedJapan,recountedthewordsofaleadingJapaneseship-owner."Ours
最新回复
(
0
)