A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
Anonymous Inner Classes
Joined: Dec 13, 2006
Dec 13, 2006 13:02:00
In Sierra Bates page 650, there is an example of illegal code (Popcorn and Food).
Is there a way to call the sizzle method from popIt method?
Or, how can I call the sizzle method outside the Food class?
Joined: Aug 25, 2003
Dec 13, 2006 14:55:00
It would be more useful for you if you don't assume that everyone refers the book you're referring to. Please type-in some code here to explain your doubts.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Anonymous Inner Classes
Is there a way to invoke new methods defined in Anonymous classes?
Anonyms Inner Class ????
Anonymous classes doubt
How to invoke a method in the(flavour one) annonymous innerclass?
whts the output
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013