Junior
Is it possible to make variables in an interface private?
sobes.tech AI
Answer from AI
No, it's not possible. All fields in Java interfaces are implicitly public static final by default. Their access modifiers cannot be changed.
sobes.tech AI
Answer from AI
No, it's not possible. All fields in Java interfaces are implicitly public static final by default. Their access modifiers cannot be changed.