Java Reference
In-Depth Information
After the substitution, the output produced by the program will look like this:
Clearly, the
tick( )
and
tock( )
methods are no longer working together!