EXPERIMENT 2: oops lab

EXPERIMENT 2: Program to Understand  constructor and destructor in C++ Constructor:A constructor is kind of member function that initializes an instance                   of its class .A constructor has the same name as the class and no return values. Download OOPs LAB in pdf: click here for download Destructor:”Destructor is inverse of constructor function.they are called when object are destroyed.Designate a function as a class detructor by […]

Continue reading