Interviewer And Interviewee Guide

C++ Programming Interview Question:

When is a template a better solution than a base class?

Submitted by: Administrator
When you are designing a generic class to contain or otherwise manage objects of other types, when the format and behavior of those other types are unimportant to their containment or management, and particularly when those other types are unknown (thus, the genericity) to the designer of the container or manager class.
Submitted by: Administrator

Read Online C++ Programming Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.