Not quite.. An instatance of an inner class can be created in a method too, there is no restriction out there.
True or false.
An instance of anonymous inner class can only be created in it's outer class.
I think it's true. But somewhere I found, it's false. Please help.
Hope this answers the querry.
Ravindra Mohan.
[This message has been edited by Ravindra Mohan (edited May 10, 2001).]