Ornamental Garden Problem - corrected
The problem in the Ornamental Gardens program is that the program
permits the increment action by the West Turnstile to interfere with
the increment action of East. The interference is removed in this version
by making increment() a syncronized method.
View Source
Demo List