The (abstract) class DesktopComponent contains an abstract method named onClicked that is void-returning and accepts no parameters. Provide the declaration of this method.

LANGUAGE: JAVA

CHALLENGE:

The (abstract) class DesktopComponent contains an abstract method named onClicked that is void-returning and accepts no parameters. Provide the declaration of this method.

SOLUTION:

public abstract void onClicked ( );