Conversion from a basic type to a class type may be
achieved using______________
Answer Posted / safe
using object.
Is This Answer Correct ? | 18 Yes | 9 No |
Post New Answer View All Answers
write a program to find 2^n+1 ?
What are functions in oop?
Why is destructor used?
What is class encapsulation?
How do you achieve runtime polymorphism?
What is destructor give example?
what is difference between class template and template class?
What is the difference between static polymorphism and dynamic polymorphism?
#include
Why is abstraction needed?
What is destructor 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 are the features of oop?
What is static in oop?
Can static class have constructor?