You can get a beautiful story about anonymous classes in the Campfire stories section of the Javaranch.
Omkar V S
OCA, Java SE 8
posted 10 years ago
the things which are defined over there. that much i also know. can you please tell me the advantage of anonymous class excpet in case of swings.And the demerits of anonymous class defined over there is not that much good. so can you please clerify my doubt more.Anyways thanks for your reply dear