Errors Exercises: Instructions Look at each class: each one has at least one error. Fix each error and add comments to explain the error you found (using your own words: don't simply repeat the error message that appears on the screen) and why that error is a problem. This is a very common type of question you might get in an interview for a programming job. Example: [shows the error message "syntax error on token "public", class expected after this token"] Error code: public ErrorExample { public static void main(String[] args) { System.out.println("Foo"); } } After you edit the code: // the "class" keyword was missing in the class header - the // class is the main container for all java programs so the // header has to include the "class" keyword public class ErrorExample { public static void main(String[] args) { System.out.println("Foo"); } }