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 Classes 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 Classes" Watch "Anonymous Inner Classes" New topic
Author

Anonymous Inner Classes

Dan Hansen
Greenhorn

Joined: Dec 13, 2006
Posts: 4
In Sierra Bates page 650, there is an example of illegal code (Popcorn and Food).

My question:
Is there a way to call the sizzle method from popIt method?
Or, how can I call the sizzle method outside the Food class?

Regards
Dan
Aditya Jha
Ranch Hand

Joined: Aug 25, 2003
Posts: 227

Hi,

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.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Anonymous Inner Classes
 
Similar Threads
How to invoke a method in the(flavour one) annonymous innerclass?
whts the output
Is there a way to invoke new methods defined in Anonymous classes?
Anonyms Inner Class ????
Anonymous classes doubt