Compiler Error J0075

Invalid call

The compiler detected syntax for a method call, but the identifier does not represent a valid method name. This error usually occurs when a method name is misspelled or contains characters that are not recognized as valid in the Java language naming conventions.

The following example illustrates this error:

class Simple {
   int x = 1();
   //error: '1()' is not a valid method name
}