Answer Posted / debika mohapatra
Templates is one of the features added to c++ recently.a
template can be considered as a kind of macro.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
2. Give the different notations for the class.\
What is polymorphism in oop example?
What is the difference between abstraction and polymorphism?
What are the components of marker interface?
What are the data types in oop?
What is encapsulation and abstraction? How are they implemented in C++?
How many human genes are polymorphic?
What is the benefit of oop?
Why is encapsulation used?
What are the 5 oop principles?
What are the 4 pillars of 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
How to improve object oriented design skills?
#include
Can we define a class within the interface?