• Post Reply Bookmark Topic Watch Topic
  • New Topic

Annonymous Class  RSS feed

 
Yog Ananth
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Explain what is the use of Annonymous class with example.Adapter class is the only annonymous class.


Tks in advance
YOGA
 
Jonas Isberg
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anonymous classes is often used when creating eventhandlers (for AWT and Swing). The below links points to relevant places in The Java(TM) Tutorial.

Trail: Learning the Java Language -> Classes and Inheritance -> Implementing Nested Classes -> Inner Classes -> Anonymous Classes
[ March 22, 2005: Message edited by: J Isberg ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!