why to use template classes in c++?



why to use template classes in c++?..

Answer / swati

the template classes are use for the reuse of the data
types which you want to use the program for many times

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More OOPS Interview Questions

Why is oop useful?

0 Answers  


What is differance between Abstract and Interface

3 Answers  


who is the founder of c++?

15 Answers   Hexaware, ONGC,


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.

1 Answers  


What are constructors in oop?

0 Answers  






How to create a comment page in C #??

2 Answers  


should we use linear search or binary search if elements are placed in random order or mixed?in both cases? i need a little bit detail ans?thnks

2 Answers  


what is Class in oops with example?

4 Answers   HCL,


What is multilevel inheritance?

0 Answers  


Describe what an Interface is and how it?s different from a Class.

7 Answers   Spinsys,


How to use CMutex, CSemaphore in VC++ MFC

0 Answers   Persistent, TCS,


what is a virtual class?

5 Answers   Cap Gemini, IBM, Infosys, Trinity Technologies,


Categories