File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
anonymous inner class
Joined: Jun 09, 2005
Jul 02, 2005 09:45:00
can anybody explain anonymous inner class flavour1 and flavour 2
as given in k&B page 467
Joined: Mar 26, 2005
Jul 02, 2005 10:53:00
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.
Diploma in Computer Studies
Formula 1 app by Maxis (Playbook)
I agree. Here's the link:
subject: anonymous inner class
Abstract Class Within an Interface
What is this technique called?
Anonymous Inner Class
Passing an object to a method.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014