问题
单项选择题
在面向对象的系统中,由于有了______,所以父类的数据和方法可以应用于子类。
A.继承性
B.封装性
C.抽象性
D.多态性
答案
参考答案:A
解析:
[分析]: 在面向对象的系统中实现“父类的数据和方法可以应用于子类”的特性是继承性。
在面向对象的系统中,由于有了______,所以父类的数据和方法可以应用于子类。
A.继承性
B.封装性
C.抽象性
D.多态性
参考答案:A
解析:
[分析]: 在面向对象的系统中实现“父类的数据和方法可以应用于子类”的特性是继承性。
书面表达。 | ||||||
Life is just like a mirror, you smile at it, and it smiles at you, too. 请你以“Learn to Smile”为题,根据下表所列的要点写一篇100词左右的文章(文章开头已给出)。
2. 短文必须包括所有内容要点,不要逐字翻译,可适当发挥,使短文连贯通顺。 Learn to Smile I remember a song by Westl ife, the first sentence of it is "Just a smile and the rain is gone." Do you like smiling? I think you should learn to smile . __________________________________________________________________________ ______________________________________________________________________________ ______________________________________________________________________________ |