this is not your sawtooth wave (kineticfactory) wrote,
this is not your sawtooth wave
kineticfactory

  • Music:

Java (or, how things change while you've been away)

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#.
Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 1 comment