A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
Joined: Oct 12, 2000
Oct 12, 2000 13:32:00
An instance of An Anonymous inner class can only be created in it outer class .(True/False)? Why?
Joined: Jun 30, 2000
Oct 12, 2000 13:50:00
False, Anonymouse classes are created in methods and these can for methods of inner classes or outer classes.
I agree. Here's the link:
- it saves me about five hours per week
subject: Anonymous class
Is it possible to create a class like this
Anonymous class ???
Passing an object to a method.
object of an interface? Hows possible
What is this technique called?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013