Answer Posted / anil kumawat
through this we can make generic function. so this function
will work for any data type.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
what are the ways in which a constructors can be called?
When not to use object oriented programming?
What is polymorphism used for?
What is coupling in oop?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
What is a class and object?
What is a class oop?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
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
Write a program to sort the number with different sorts in one program ??
What is the difference between a constructor and a destructor?
Why is oop useful?
Why multiple inheritance is not possible?
Why is oop better than procedural?