1.

What type of variable can be defined in an interface?(a) public static(b) private final(c) public final(d) static final

Answer» 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.


Discussion

No Comment Found

Related InterviewSolutions