How can we restrict dynamic allocation of objects of a class using new?

Posted on by