Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

merits n demerits of anonymous class

 
gagan narula
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
can any one tel me the merits n demrits of using anonymous class
 
Omkar Shetkar
Ranch Hand
Posts: 76
1
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

You can get a beautiful story about anonymous classes in the Campfire stories section of the Javaranch.

Omkar V S
 
gagan narula
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic