Within public interface Constants i declared
static final boolean TREAT_AS_SOURCE = true
and got a message that it is a redundantly declared as static.
Help me understand why that is?
All field members declared in an interface are by default public, static and final, therefore, it is redundant to say it again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With