If you're using a build.gradle file then you probably won't see any benefit to this implicit class, yes.
But it's useful for little one-off scripts, where you just go `$ java foo.java` from the command line.
But it's useful for little one-off scripts, where you just go `$ java foo.java` from the command line.
You still need to know what a main class is, so that you can reference it in your build.gradle file.