Accidentally deleted the code from the lesson in Java


Is there a refresh button?
Here is the link:


Refresh your browser it should come back. :slight_smile:


I'm not so sure about refreshing the page having any effect.

You need something to start happening when the file is run, that means the class needs to be public and have the same name as the file, and contain a main method.

public class Generalizations {
    public static void main(String[] args) {

There is a reset button under 'Get Help' but I've had bad experiences with it, it may reset more exercises than you'd like.


Thanks for the help!