Answer Posted / keshav.gadde
Template is a mechanism that allows one function or class to
deal with diffrent data types.
Using templates we can design a template class that operates on
diffrent data types.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Can enum be null?
Are polymorphisms mutations?
What is and I oop mean?
Is react oop?
What is constructor overloading in oop?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
What is polymorphism in oops with example?
What is encapsulation and abstraction? How are they implemented in C++?
What is the important feature of inheritance?
What is difference between abstraction and encapsulation?
Why do we use polymorphism?
Where is pseudocode used?
Which method cannot be overridden?
Why it is called runtime polymorphism?
What is oops with example?