aspose file tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes anonymous inner class Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: anonymous inner class
 
Similar Threads
Anonymous Inner Class
Passing an object to a method.
Abstract Class Within an Interface
Inner Class
What is this technique called?