Compiler Error J0029

Invalid character

The compiler detected an ASCII character that could not be used in an identifier. This error usually occurs when a class, interface, method, or variable identifier includes an invalid character.

The following example illustrates this error:

public class Simple {
   
   private int c#; 
   // error: '#' not supported
   
}