News for hackers. Stuff that matters.
Re:It’s Not Wrong that “ ”.length == 7 by Bjartr on Friday June 02, 2023 @11:44AM (#36166701)
> And you still need a wrapper class with a static method main in it

One of the preview features he's using is JEP 445[1] that allows you to omit the wrapper class, as well as the arguments to main and the public and static modifiers.

[1]https://openjdk.org/jeps/445

There are no comments on this comment yet.