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

Why is encapsulation used?

1 Answers  


Which type does string inherit from?

1 Answers  


Whats oop mean?

1 Answers  


why c++ is a highlevel language

3 Answers   Satyam, Tech Mahindra,


WILL I GET A guaranteed JOB AFTER DOING bsc()IT) and GNIIT from an NIIT CENTRE??

21 Answers   Biocon, MIT, NIIT,


what is inline function?

3 Answers  


Explain the advantages of inheritance.

1 Answers   TCS,


What is the correct syntax for inheritance? 1) class aclass : public superclass 2) class aclass inherit superclass 3) class aclass <-superclass

6 Answers   Wipro,


How to create a comment page in C #??

2 Answers  


what is abstract class ? when is used in real time ? give a exp

5 Answers  


How compiler selects(internally) required overridden function in inheritance?

2 Answers   CSC, Infinite Computer Solutions,


What is advantage of inheritance?

1 Answers  


Categories