what is the use of template classes in c++



what is the use of template classes in c++..

Answer / ags

Templates are used to avoid the repetition of similar
functions in any class.

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More OOPS Interview Questions

How can you overcome the diamond problem in inheritance?

0 Answers   NIIT,


hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.

0 Answers  


assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).

0 Answers  


what is the difference between a package and a software?

3 Answers  


to find out the minimum of two integer number of two different classes using friend function

0 Answers  






What is the expansion of OOPS?

24 Answers   TCS,


• What are the desirable attributes for memory managment?

0 Answers  


What are the benefits of interface?

0 Answers  


When not to use object oriented programming?

0 Answers  


Difference between realloc() and free?

9 Answers   HP,


What does the keyword "static" mean?

4 Answers   TCS,


when to use 'mutable' keyword and when to use 'const cast' in c++

0 Answers   TCS,


Categories