Method yy not found in class zz
March 9th, 2009
Applies to:
NA
Description:
This is a syntax error and occurs when the method you are trying to call does not exist
Cause:
a. Static methods messages are sent to objects rather than classes.
b. The method you are trying to access does not exist.
c. A constructor is called in a constructor with the same name
d. Typographical error
System.out.prinln(“My Test”);
Send static method messages to classes.
Example: int x = Math.abs(y);
Check spelling and cases of method names.