File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes anonymous inner class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "anonymous inner class " Watch "anonymous inner class " New topic
Author

anonymous inner class

samdeep aarzoo
Ranch Hand

Joined: Jun 09, 2005
Posts: 160
can anybody explain anonymous inner class flavour1 and flavour 2
as given in k&B page 467
Nicky Eng
Ranch Hand

Joined: Mar 26, 2005
Posts: 378
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.


From NickyEng
Diploma in Computer Studies
SCJP 1.4
SCWCD 1.4
Formula 1 app by Maxis (Playbook)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: anonymous inner class