As henry is repeatedly mentioning in every post , please quote your sources
webpage. And also use code tags.
Since you have only constructor with int parameter, you can have the ananomous inner class by passing any int value to the constructor of class A. Example code below.
Save the file as AnonInner.java and when ran it will print "defined in anon inner".