If All The Members Are Defined In Protected Specifier Then #233
If all the members are defined in protected specifier then? (Constructors not considered)
This multiple choice question (MCQ) is related to the book/course gs gs111 OOP Object Oriented Programming Java. It can also be found in gs gs111 OOps Access Specifiers - OOPs MCQ: Protected Access Specifier - Quiz No.1.
If all the members are defined in protected specifier then? (Constructors not considered)
Instance of class can’t be created
Instance of class can be created anywhere
Instance of class can be created only in subclasses
Instance of class can be created only in main() function