Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8302326 JEP 445: Unnamed Classes and Instance Main Methods (Preview)
  3. JDK-8314447

Release Note: Unnamed Classes and Instance Main Methods (Preview)

XMLWordPrintable

      Unnamed classes and instance main methods enable students to write streamlined declarations for single-class programs and then seamlessly expand their programs later to use more advanced features as their skills grow. Unnamed classes allow the user to provide class content without the full ceremony of the class declaration. The instance main method feature allows the user to drop the formality of `public static void main(String[] args)` and simply declare `void main()`.

            jlaskey Jim Laskey
            jlaskey Jim Laskey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: