Jump to content

Recommended Posts

Posted

I want to know if it is possible to create an anonymous Java class that extends another class.

For example

addWindowListener(new WindowDestroyer() extends WindowAdapter {

public void windowClosing(WindowEvent e)

{

System.exit(0);

}

});


Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...