Differentiate between a template class and class template?

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


Please Help Members By Posting Answers For Below Questions

What is the iunknown interface?

674


Which programming language's unsatisfactory performance led to the discovery of c++?

794


Explain the difference between realloc() and free() in c++?

528


Show the application of a dynamic array with the help of an example.

579


Define friend function.

560






What are all predefined data types in c++?

554


Differentiate between an array and a list?

701


How does a copy constructor differs from an overloaded assignment operator?

549


What's the "software peter principleā€?

616


What should main() return in c and c++?

520


How to declare a pointer to an array of integers?

641


Can constructor be private in c++?

604


What is cin clear () in c++?

601


What is pointer to member?

597


What is struct c++?

561