why to use template classes in c++?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is abstraction used?

830


What is the use of oops?

790


Can destructor be overloaded?

794


Which type does string inherit from?

823


What do you mean by abstraction?

808


What is encapsulation in oops?

751


What causes polymorphism?

808


What is object in oop?

869


What is polymorphism explain its types?

905


What is object-oriented programming? Webopedia definition

948


Get me an image implementation program.

1729


What does no cap mean?

778


What is difference between multiple inheritance and multilevel inheritance?

865


How to call a non virtual function in the derived class by using base class pointer

5884


Can abstract class have normal methods?

783