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:
subject: Anonymous class
object of an interface? Hows possible
Is it possible to create a class like this
What is this technique called?
Passing an object to a method.
Anonymous class ???
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015