GIAC Secure Software Programmer – Java GSSP-Java Question # 2 Topic 1 Discussion

GIAC Secure Software Programmer – Java GSSP-Java Question # 2 Topic 1 Discussion

GSSP-Java Exam Topic 1 Question 2 Discussion:
Question #: 2
Topic #: 1

Peter works as a Software Developer for Neon Inc. He is developing an application in Java. He declares an interface. Which of the following field declarations are valid within the body of an interface?

Each correct answer represents a complete solution. Choose three.


A.

final static int answer=42;


B.

public static int answer = 42;


C.

private final static int answer=42;


D.

public int answer=42;


E.

int answer;


Get Premium GSSP-Java Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.