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
Write about a nested class and mention its use?
What is c++ try block?
What is a local variable?
Which is better turbo c++ or dev c++?
What is ostream in c++?
Explain pass by value and pass by reference.
What do you mean by enumerated data type?
What is Destructor in C++?
What's the hardest coding language?
Distinguish between a # include and #define.
Why do we need c++?
Explain container class.
Why are pointers not used in c++?
Explain the difference between static and dynamic binding of functions?
Can union be self referenced?