If constructors of a class are defined in private access, then __________
(a) The class can’t be inherited
(b) The class can be inherited
(c) Instance can be created only in another class
(d) Instance can be created anywhere in the program
I have been asked this question in an online interview.
The origin of the question is Types of Constructors in portion Constructors and Destructors of Object Oriented Programming