Home » JAVA Programming » Interfaces » Question
  1. What type of variable can be defined in an interface?
    1. public final
    2. public static
    3. static final
    4. private final
    5. None of these
Correct Option: C

variable defined in an interface is implicitly final and static. They are usually written in capital letters.



Your comments will be displayed only after manual approval.