Multiple choice technology programming languages

By default type of variable(data members) in interface..???

  1. public,final

  2. Only Final

  3. Only Public

  4. public,final,static

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Variables declared in an interface are implicitly public, static, and final. This makes them constants that can be accessed directly via the interface name and cannot be modified.