News for hackers. Stuff that matters.
Re:The Top Programming Languages 2023 by lenkite on Wednesday September 13, 2023 @04:27AM (#37493810)
Dude, Java has changed. You don't need `public static void main` anymore.

https://medium.com/@shwetha.hey/java-21-no-more-public-stati...

Also you can do

    new {
      System.out.println("Hello, world!");
    }

There are no comments on this comment yet.