0
/ 50
You wrote the following statements when first learning about Jeroo
methods--they move the Jeroo
forward 3 steps. Now that you've found...
You wrote the following statements when first learning about
Jeroo
methods--they move the Jeroo
forward 3 steps. Now
that you've found out there is a second version of the hop()
method that takes an integer as a parameter, you want to revise
these statements to use just one method call. Change the code to
use just one call to hop()
by passing the distance to move as
a parameter inside the parentheses.
Your feedback will appear here when you check your answer.