Syntax error on token “eat”, identifier expected after this token

Because I didn’t add the main method, I added it in the main method
public static void main(String[] age) {
}
Can solve

Read More: