adspace


what is difference between class template and template class?

Answer Posted / Rajeev Raghuwanshi

Class Template and Template Class are both used in C++ to achieve generic programming, but they are slightly different. A Class Template allows you to create a generalized class that can be instantiated for specific data types at the time of use, while a Template Class is a template for a class itself. In other words, a Class Template is used to create a generic instance of a class, whereas a Template Class is used to create a generic class definition.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.

2278


Please send ford technologies placement paper 2 my mail id

2177