Answer Posted / swati
the template classes are use for the reuse of the data
types which you want to use the program for many times
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what is the drawback of classical methods in oops?
What is coupling in oops?
What is the fundamental idea of oop?
What are the benefits of oop?
What is encapsulation with real life example?
How do you define social class?
What is purpose of inheritance?
What is the difference between inheritance and polymorphism?
Why is polymorphism used?
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 overriding in oop?
What is for loop and its syntax?
What is abstract class in oops?
Can abstract class have normal methods?
What is polymorphism programming?