can we use the Action Listener in a awt without using constructors? clarify the following error?

Printable View