GSSP-JAVA Web TestEngine demo

Exit VceDump GSSP-JAVA GIAC Secure Software Programmer - Java
Question 10 of 42
0% complete
Q10 Single choice

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?

Sign in to mark questions

Sign in to save marked questions and return to this demo.

Sign in