Answer Posted / beena
A template is a parameterized construct or type containing generic code that can use or manipulate any type. It is called parameterized because an actual type is a parameter of the code body. Polymorphism may be achieved through parameterized types. This type of polymorphism is called parameteric polymorphism. Parameteric polymorphism is the mechanism by which the same code is used on different types passed as parameters.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is virtual base class uses?
If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?
Differentiate between an array and a list?
What is rtti in c++?
What is the error in the code below and how should it be corrected?
What is fflush c++?
State the difference between delete and delete[].
Is it possible to use a new for the reallocation of pointers ?
Why use of template is better than a base class?
Is c++ proprietary?
What is a friend function in c++?
what is scupper?
What is one dimensional array in c++?
Is java a c++?
What is the extension of c++?