Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJP
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Programmer Certification (OCPJP)
Anonymous class ???
Salim Mohamed
Ranch Hand
Posts: 55
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
What is anonymous Class ?
Ron Newman
Ranch Hand
Posts: 1056
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
It's a special kind of inner class. You need to learn about inner classes first:
http://java.sun.com/docs/books/tutorial/java/javaOO/nested.html
http://java.sun.com/docs/books/tutorial/java/javaOO/innerclasses.html
Ron Newman - SCJP 1.2 (100%, 7 August 2002)
Valentin Crettaz
Author & Gold Digger
Posts: 7617
6
I like...
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
More on inner classes:
Programmer's Guide to
Java
Certification:
A Comprehensive Primer- Chapter 7: Inner classes by Khalid Azim Mughal and Rolf W. Rasmussen
My Linked In
Yup, yup, yup. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
object of an interface? Hows possible
Is it possible to create a class like this
What is this technique called?
Anonymous Inner Class
Passing an object to a method.
More...