Match $\text{List I}$ with $\text{List II}$
$\text{List I}$ |
$\text{List II}$ |
$\text{A}$. If the implementation of generated or derived classes differ only through a parameter we have |
$\text{I}$. to use class hierarchy |
$\text{B}$. If the actual types of objects used cannot be known at compile time, then we have |
$\text{II}$. improved run-time efficiency |
$\text{C}$. If inline operations are essential and templates are used then we have |
$\text{III}$. to use templates |
$\text{D}$. To gain access to differing instances for derived classes through base we have |
$\text{IV}$. to use explicit casting |
Choose the correct answer from the options given below:
- $\text{A-I, B-II, C-IV, D-III}$
- $\text{A-III, B-I, C-II, D-IV}$
- $\text{A-I, B-III, C-II, D-IV}$
- $\text{A-II, B-I, C-III, D-IV}$
(Option $1 [39569]) 1$
(Option $2 [39570]) 2$
(Option $3[39571]) 3$
(Option $4 [39572]) 4$
Answer Given by Candidate: $3$