If A Constructor Is Defined In Protected Access Then #227
If a constructor is defined in protected access, then?
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 a constructor is defined in protected access, then?
It’s instance can be created inside the subclasses
It’s instance can be created anywhere in the program
It’s instance can be created inside the subclasses and main() function
It’s instance can be created inside the parent class only