A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Fool java into printing something it should not print
Joined: Apr 30, 2003
Apr 12, 2012 17:51:31
The goal of this series of puzzles (eg:
) is to trick
to return unexpected or explicitly forbidden results.
and..... I'm stuck. I think it has something to do with spawning new threads so that private fields can be forced into unexpected states, but I'm not sure how.
I agree. Here's the link:
subject: Fool java into printing something it should not print
The swing puzzle
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013