If all the members are defined in protected specifier then? (Constructors not considered)
(a) Instance of class can’t be created
(b) Instance of class can be created anywhere
(c) Instance of class can be created only in subclasses
(d) Instance of class can be created only in main() function
I have been asked this question in an internship interview.
This key question is from Protected Access Specifier in division Access Specifiers of Object Oriented Programming