File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General 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 » Java » Java in General
Bookmark "Anonymous inner class" Watch "Anonymous inner class" New topic

Anonymous inner class

mohamed ibrahim abdul wahab

Joined: Oct 31, 2006
Posts: 1
what is meant by Anonymous inner class.where we use it. what is the diff b/w method- local inner class and anonymous one?
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15094

Did you try using Google? Search for "anonymous inner class" and you'll find lots of information very quickly.

See this JavaRanch CampFire story: Getting in Touch with your Inner Class

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I agree. Here's the link:
subject: Anonymous inner class
It's not a secret anymore!