Answer Posted / rakhi
Object is distroyed when it goes out of the scope and it
can be distroy with its default destructor.
| Is This Answer Correct ? | 18 Yes | 0 No |
Post New Answer View All Answers
Why do we use class?
What are different oops concepts?
Why polymorphism is used in oops?
Why do we need oop?
What does enum stand for?
How to hide the base class functionality in Inheritance?
Why do we use inheritance?
What is encapsulation with example?
what is the drawback of classical methods in oops?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What is this pointer in oop?
What do you mean by Encapsulation?
What are the benefits of oop?
Is data hiding and abstraction same?