When the statement is executed, control transfers out of the enclosed labelled statement. Control is NOT transferred to the label, but to a point past the end of the labelled statement. Note that with both break and continue, any finally block will be executed before the labelled statement is exited or the next iteration of a loop takes place. The labelled continue statement will cause the finally block to be executed before going to the bottom of the while loop in preparation for the next iteration of the loop. The runtime system may eventually reclaim the storage.
Garbage collection is automatic.
But sometimes there are ways to help it out. In such a case, this data structure cannot be garbage collected, even though it may no longer be in use. We haven't nullified the Object itself, just a no longer valid reference to it. In the previous issue we showed how to use low-level character input within an applet. In this issue we'll discuss higher-level input using TextFields.