What type of variable can be defined in an interface?
(a) public static
(b) private final
(c) public final
(d) static final
(a) public static
(b) private final
(c) public final
(d) static final
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Correct option is (d) static final
To explain: variable defined in an interface is implicitly final and static. They are usually written in capital letters.