12/12 How To Uncomment The Last Line?

Any Suggestions? Here’s My Code:

Both of your closing right curly braces have gone missing - that is what the error on the right is complaining about.

Which line should I add these too?

public class Generalizations {

    public static void main(String[] args) {

        // the code from the exercise belongs in here

    }  // this one will close your main method

} // this one will close your class

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.