| Author |
About constructor of anonymous class!
|
jaman tai
Ranch Hand
Joined: Sep 26, 2005
Posts: 37
|
|
|
Can we say there is no constructor in anonymous class? What about the initializer {} ?
|
 |
A Kumar
Ranch Hand
Joined: Jul 04, 2004
Posts: 973
|
|
Hi, Check this out... http://www.coderanch.com/t/400491/java/java/Non-static-initializer-vs-Constructor Regards
|
 |
Santana Iyer
Ranch Hand
Joined: Jun 13, 2005
Posts: 335
|
|
|
anonymous class means they do not have name so there can not be constructor instead one has to use initializer instead of constructor.
|
 |
 |
|
|
subject: About constructor of anonymous class!
|
|
|