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:

1
A - I, B - II, C - IV, D - III
2
A - III, B - I, C - II, D - IV
3
A - I, B - III, C - II, D - IV
4
A - II, B - I, C - III, D - IV

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation