A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Certification
»
Programmer Certification (SCJP/OCPJP)
Author
Anonymous class
Hans-Li
Greenhorn
Joined: Oct 12, 2000
Posts: 2
posted
Oct 12, 2000 13:32:00
0
An instance of An Anonymous inner class can only be created in it outer class .(True/False)? Why?
bill bozeman
Ranch Hand
Joined: Jun 30, 2000
Posts: 1070
posted
Oct 12, 2000 13:50:00
0
False, Anonymouse classes are created in methods and these can for methods of inner classes or outer classes.
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: Anonymous class
Similar Threads
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