Inconsistent which classes I am able to run "main" on.
Answered
Each of my classes has a "main", but only some of them will let me run that. I can't see any differences between the classes.
When I go into the run configurations the icons are different. The one which shows the unlock (first item in screen shot) I can run, and the one which shows as locked (last item in screen shot) I can't run. But I don't understand where those are being gotten from. How that is set.

I guess I should be writing junits instead.
Please sign in to leave a comment.
What's the full signature of the main method in that class?
This
and this
The same
It's not the same, it must be public if you want to run it, your second class has private main method.
Wow, strange how you can look at something and not see it. Thanks.