If The Members Have To Be Accessed From Anywhere In The Program #242
If the members have to be accessed from anywhere in the program and other packages also, which access specifier should be used?
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: Public Access Specifier - Quiz No.1.
If the members have to be accessed from anywhere in the program and other packages also, which access specifier should be used?
Public
Private
Protected
Default