Consider the following statements about object-oriented...
1
Q1435579
Teclas de Atalhos
Compartilhar

Consider the following statements about object-oriented programming.


I. Using different names for operations in the same types is called overloading.

II. Overloaded operators are useful to add functions to enable conventional notation.

III. A derived class is said to inherit properties from its base, so the relationship is also called inheritance.

IV. Pointers to functions can be used to provide a simple form of polymorphic routines.


Choose the right alternative.


A

Only statements I and II are correct.


B

Only statements I and IV are correct.


C

Only statements III and IV are correct.


D

Only statements I, II and III are correct.


E

Only statements II, III and IV are correct.