We still need to write the Hippodrome class's print method. Everything is simple here, too: In a loop, we call the print method on each horse. Oh, and display 10 empty lines after the loop (using System.out.println()) to make it more beautiful.
Hippodrome (part 10)
You must be signed in to leave a comment
This page doesn't have any comments yet