• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

anonymous inner class

 
samdeep aarzoo
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anybody explain anonymous inner class flavour1 and flavour 2
as given in k&B page 467
 
Nicky Eng
Ranch Hand
Posts: 378
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
flavour one : creates an anonymous subclass of the specified class type.

flavour two : creates an anonymous implementer of the specified interface type.

as in page 471. hehe.

everything explained in the book is so clear. i wonder why you can't understand. but good luck. i gtg for my "stupid" class.

all the best.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic