Q:

If template class is defined, is it necessary to use different types of data for each call?

0

If template class is defined, is it necessary to use different types of data for each call?


  1. No, not necessary
  2. No, but at least two types must be there
  3. Yes, to make proper use of template
  4. Yes, for code efficiency

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

(a).No, not necessary

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT ORIENTED PROGRAMMING OBJECTS AND CLASSES IN OOPS MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
How many generic types can be given inside a singl... >>
<< What is the output of following program?...