20200415 ooptest
一.单选题
1
Which among the following best describes polymorphism?
-
A、
It is the ability for a message/data to be processed in more than one form
-
B、
It is the ability for a message/data to be processed in only 1 form
-
C、
It is the ability for many messages/data to be processed in one way
-
D、
It is the ability for undefined message/data to be processed in at least one way
//就是对于多态的解释,一个事情可以多种状态
2
Which among the following can’t be used for polymorphism?
-
A、
Static member functions
-
B、
Member functions overloading
-
C、
Predefined operator overloading
-
D、
Constructor overloading
//多态就是多种状态,当类之间存在层次结构&#