Apply same treatment to the move method
Display Listing 2.
The same treatment is applied to the distance parameter in the call to the move method.
The contents of the parameter named distance are
passed as the second parameter to the method named move.