GeeksforGeeks » Interview Questions
Honeywell Interview Question for Software Engineer/Developer (0 - 2 Years) about Object Oriented
(2 posts)-
how do u ensure an object of a class can not be created?
-
make the constructor of the class as private.
Reply
You must log in to post.