I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?
To prevent other classes from creating objects of your class (including derived classes), you can make the class's constructor `private`. This restricts object creation to within the class itself.