what is the usage of clas templates

Answer Posted / anil bisht

A template is a C++ feature that allows functions and
classes to be defined with any type.Class template is a
template used to generate template classes. You cannot
declare an object of a class template.Template class is an
instance of a class template.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is destructor oops?

611


just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.

6476


What is the significance of classes in oop?

585


What is abstraction in oop?

625


What is polymorphism in oop example?

507






What is property in oops?

556


What is multilevel inheritance explain with example?

619


What is interface in oop?

651


What is an example of genetic polymorphism?

643


What does enum stand for?

605


What is the difference between abstraction and polymorphism?

604


What is the oops and benefits of oops programming?

544


What is ambiguity in inheritance?

616


What is inheritance in oop?

591


what is the drawback of classical methods in oops?

2908