I just got done with typing up my first Java application. Near the end I noticed this placed somewhere where the class declaration is:


I don't know what that is doing there.

Then it went away and came back. Weird also is the name of my class which is WelcomeProgram is in red text not black. And the main method the word main is also in red text instead of black. I right-clicked on the red words and saw something called Ignore so I clicked on it and now those words are black.

Can someone explain?