网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
多型现象(polymorphism)
参考答案
更多 “多型现象(polymorphism)” 相关考题
考题
C++ fully supports ( ) programming,including the four properties:encapsulation,data hiding,inheritance,and polymorphism.A.computer-oriented
B.procedure-oriented
C.object-oriented
D.aspect-orienteD.
考题
public class CreditCard { private String cardlD; private Integer limit; public String ownerName; public void setCardlnformation(String cardlD, String ownerName, 28. Integer limit) { this.cardlD = cardlD; this.ownerName = ownerName; this.limit = limit; } } Which is true?() A、 The class is fully encapsulated.B、 The code demonstrates polymorphism.C、 The ownerName variable breaks encapsulation.D、 The cardlD and limit variables break polymorphism.E、 The setCardlnformation method breaks encapsulation.
考题
单选题Given: Which statement is true?()A
The cardID and limit variables break polymorphism.B
The code demonstrates polymorphism.C
The ownerName variable breaks encapsulation.D
The setCardInformation method breaks encapsulation.E
The class is fully encapsulated.
考题
问答题何为昆虫的雌雄二型和多型现象?试举例说明?
热门标签
最新试卷