Compiler Error J0129

Cannot declare a class to be 'identifier' and 'identifier'

The compiler detected a class declared with modifiers that cannot be combined. Ensure that the modifiers you have applied to the class do not conflict with each other and compile again.

The following example illustrates this error:

public abstract final class Simple {
   
   /*error: 'abstract' and 'final' cannot
     be used together in a class declaration*/
   
}