( )is a property of object-oriented sof

考试题库2022-08-02  9

问题 (  )is a property of object-oriented software by which an abstract operation may be performed in different ways in different classes.A.MethodB.PolymorphismC.InheritanceD.Encapsulation

选项 A.Method
B.Polymorphism
C.Inheritance
D.Encapsulation

答案 B

解析 多态是面向对象的特征之一,它提供了一个抽象操作,在不同的类中能够执行不同的方法。选项A是方法,选项B是多态,选项C是继承,选项D是封装。
转载请注明原文地址:https://tihaiku.com/congyezige/2296801.html

最新回复(0)