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

What is pure oop?

685


Can an interface inherit a class?

644


What is difference between inheritance and polymorphism?

666


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4341


What is difference between pop and oop?

700






What is polymorphism in oops?

637


What does I oop mean?

709


What is object in oop?

780


Why do we need polymorphism in c#?

791


What is the difference between procedural programming and oops?

647


What is polymorphism what are the different types of polymorphism?

648


What is destructor in oop?

696


Why is oop useful?

699


What are the components of marker interface?

703


What is difference between oop and pop?

713