Match List I with List II
|
LIST - I |
LIST - II |
||
|
A. |
If the implementation of generated or derived classes differ only through a parameter we have |
I. |
to use class hierarchy |
|
B. |
If the actual types of objects used cannot be known at compile time, then we have |
II. |
improved run-time efficiency |
|
C. |
If inline operations are essential and templates are used then we have |
III. |
to use templates |
|
D. |
To gain access to differing instances for derived classes through base we have |
IV. |
to use explicit casting |
Choose the correct answer from the options given below: