Originally posted by Niranjan Deshpande:
So the {} make it an unreferenecef anonymous class ???
then, whats the difference between
new Bar().go(); and
(new Bar() {}).go();
try:
this is actualy overriding the go() method. So "(new Bar() {}).go();" is probably extending Bar but not making any overriding.
Anybody knows about a job for <a href="http://cern.ch/jvalenta/valenta-cv.pdf" target="_blank" rel="nofollow">SCJP5.0, Ph.D. in Software Engineering, 2 years Java, C, C++</a> in Montreal, QC, Canada? Thanks!