It's not a secret anymore!*
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 14074

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 7 API documentation
Scala Notes - My blog about Scala
I agree. Here's the link:
subject: Anonymous inner class
Similar Threads
Passing an object to a method.
What is this technique called?
inner classes
How do I Read this?
Anonymous versus Declared inner classes