acb: (Default)
[personal profile] acb
I looked at Java today for the first time since the days of Java 1, AWT and the Blackdown Linux JDK. (Not counting the times when I tutored Java programming courses a year or two ago.) Anonymous inner classes are something I hadn't seen before, and a bit unexpected to someone to whom Java was essentially C++ with training wheels.

         frame.addWindowListener(new WindowAdapter() {
            public void windowClosing(WindowEvent e) {
                System.exit(0);
            }
        });


I wonder whether Microsoft ripped this particular syntactic quirk off for C#.

September 2015

S M T W T F S
  12345
6 789101112
13141516171819
20212223242526
27282930   

Most Popular Tags

Active Entries

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 29th, 2026 07:36 am
Powered by Dreamwidth Studios