Differentiate between a template class and class template?



Differentiate between a template class and class template?..

Answer / beena

Template class:

A generic definition or a parameterized class not instantiated until the client provides the needed information. It’s jargon for plain templates.

Class template:

A class template specifies how individual classes can be constructed much like the way a class specifies how individual objects can be constructed. It’s jargon for plain classes.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

Why pure virtual functions are used if they don't have implementation / When does a pure virtual function become useful?

1 Answers  


What are static member functions?

0 Answers  


What is the difference between the compiler and the preprocessor?

0 Answers  


If you push the numbers (in order) 1, 3, and 5 onto a stack, which pops out first a) 1 b) 5 c) 3

0 Answers  


What are the advantages of using const reference arguments in a function?

0 Answers  






Is c++ a difficult language?

0 Answers  


Explain the difference between using macro and inline functions?

0 Answers  


a class that maintains a pointer to an object that is programatically accessible through the public interface is known as?

2 Answers   CTS,


write a programming using for loop in c++ to generate diamond trangel?

1 Answers   NIIT,


How does list r; differs from list r();?

0 Answers  


What is meant by forward referencing and when should it be used?

0 Answers  


What is lambda in c++?

0 Answers  


Categories