GIAC GSSP-Java Question Answer
Mark works as a Programmer for InfoNet Inc. He writes the following programs.
1. package book;
2. public class read
3. {
4. (access modifier) int r1=10;
5. }
1. package book1;
2. import book.read;
3. class Doread extends read
4. {
5. public void test()
6. {
7. System.out.println("The value of r1 is." +r1);
8. }
9. }
Which of the following access modifiers will be put in the place of the word, (access modifier), to compile the program successfully?