Answer Posted / vishwa
emp e;//default constr
emp e(10);//paramatrisized constr
emp e(e1);//copy constr
emp e = e1;//copy constr
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
i got a backdoor offer in process global,Bangalore..Can i work with it?
Can static class have constructor?
#include
What is polymorphism explain?
What is difference between data abstraction and encapsulation?
How do you define social class?
can we make game by using c
How do you answer polymorphism?
What is the difference between static polymorphism and dynamic polymorphism?
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 call a non virtual function in the derived class by using base class pointer
Can private class be inherited?
What is solid in oops?
What is ambiguity in inheritance?
What polymorphism means?