remember these points for anonymous classes:
i) As they have got no names so they can not have constructors.
ii) Where ever they are declared, then and there they are instantiated. so in this case ActionListner interface is extended by an anony class and then it is created using new operator. see how it is done on anony classes. remember declare and extned and create at one place.