Compiler Error J0038

'final' member ‘identifier’ must be initialized when declared in an interface

The compiler detected an uninitialized final variable in an interface definition. Variables declared as final in an interface definition must have their value set at declaration. Once set, the value cannot be programmatically changed.

The following example illustrates this error:

interface ISimple {
   
   final int COOL_RAD; 
   // error: must have value set
   
}