0
Answer

Problem

Shraddha Bhat

Shraddha Bhat

11y
1k
1
Create a Employee Class with members say fullaname, EmpID , CurrPAy with Appropriate Constructors
and Destructors .Write adriver program to create 4 employees and at each time of the creation of a new
employee display the count of objects created with the help of constructor .Also destroy the objects with
the help of destructor and Garbage Collector. At each time of the destruction display the number of
objects destroyed and number of objects remaining.