采用继承机制创建子类时,子类中(39)。
2023-09-01
B.只能有父类中的行为
C.只能新增行为
D.可以有新的属性和行为
参考答案:D
在令子类继承父类的同时,可以重新定义某些属性,并重写某些方法,即覆盖父类的原有属性和方法,使其获得与父类不同的功能。另外,为子类追加新的属性和方法也是常见的做法。
![]( //img1.runjiapp.com/duoteimg/tiku/images/pc/questionBank/main-list-title-icon.png)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_15.jpg)
2023-05-16
从业资格其它
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_41.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_56.jpg)
2023-05-16
从业资格其它
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_57.jpg)
对企业投资项目申请书进行核准评估时,不需要评估的内容是( )
2023-05-16
从业资格其它
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_99.jpg)
2023-05-16
从业资格其它
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_73.jpg)
对企业申请中央预算内投资补助的资金申请报告进行评估时,不需要评估的内容为( )。
2023-05-16
从业资格其它
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_67.jpg)
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_48.jpg)
2023-05-16
从业资格其它
![](https://img1.runjiapp.com/duoteimg/tiku/banner/bn_82.jpg)
2023-05-16
从业资格其它
热门标签