Multiple choice technology programming languages

Variables declared inside interface can be..?

  1. public

  2. default

  3. static

  4. final

Reveal answer Fill a bubble to check yourself
A,C,D Correct answer
Explanation

Variables declared in an interface are implicitly public, static, and final. They must be initialized as they become constants. Interface variables cannot have other access modifiers or be instance variables. Option B is incorrect - 'default' is not an explicit access modifier for interface variables.