Which Among The Following Best Describes The Protected Specifier #226
Which among the following best describes the protected specifier?
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.
Which among the following best describes the protected specifier?
Members are most secure and can’t be used outside class
Members are secure but can be used outside the class
Members are secure as private, but can be inherited
Members are secure like private, but can’t be inherited