Question:What are constructor and destructor?
Answer Constructor: It is automatic object creation process. It can call class methods and can accept paramiters.
Destructor: It is automatic object destruction process. We can use destructors to modify the object destruction process.
+ Report
What are constructor and destructor?