posted 13 years ago
Hi all,
When I worked through this question, I ended up with five objects, but the answer says it's only four. It seems to me that one Banker, one Account and three Longs are created
I ran the code through the debugger in Eclipse and, indeed, Long instances are created with different IDs at lines 1,2 and 3.
Would anyone care to comment on that?
Many thanks!
-john
ocjp december 2011 -
may peace prevail on earth