Which of these field declarations are legal within the body of an interface? Select the three correct
Question:
Which of these field declarations are legal within the body of an interface?
Select the three correct answers.
(a) public static int ANSWER = 42;
(b) int ANSWER;
(c) static final int ANSWER = 42;
(d) public int ANSWER = 42;
(e) private static final int ANSWER = 42;
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Programmers Guide To Java SE 8 Oracle Certified Associate OCA
ISBN: 9780132930215
1st Edition
Authors: Khalid Mughal, Rolf Rasmussen
Question Posted: