Câu 55: GSSP-Java: GIAC Secure Software Programmer-Java
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.
Nội dung câu hỏi
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.
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. final static int answer=42; — đáp án hiện tại
- B. public static int answer = 42; — đáp án hiện tại
- C. private final static int answer=42;
- D. public int answer=42; — đáp án hiện tại
- E. int answer;
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.