EGL1009Efunction_name failed.
The method or field object_name is not static. An identifier
must be used instead of a class name.
Explanation
When a method or field is not declared
static, it exists only in a specific instance of a class, not the class itself.
An identifier of the object must be used in this case.
User Response
Change the program logic
to use an identifier instead of a class name.