New candidate JEP: 445: Flexible Main Methods and Anonymous Main Classes (Preview)

Mark Reinhold mark.reinhold at oracle.com
Mon Apr 10 17:37:01 UTC 2023


https://openjdk.org/jeps/445

  Summary: Evolve the Java language so that students can write their
  first programs without needing to understand language features designed
  for large programs. Far from using a separate dialect of Java, students
  can write streamlined declarations for single-class programs and then
  seamlessly expand their programs to use more advanced features as their
  skills grow. This is a preview language feature.

- Mark


More information about the jdk-dev mailing list