Hippodrome (part 5)

  • 6
  • Locked
Finish writing the Horse class. Add a constructor with name, speed, and distance parameters. Add getters and setters for all the fields in the Horse class. Make all of the methods public unless indicated otherwise.
You can't complete this task, because you're not signed in.
Comments (1)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Justin Smith
Level 38 , Greenfield, USA, United States
11 December 2021, 16:11
This is a good time to remember that Intellij IDEA can automatically generate your constructors and getter/setter methods. Save's a little time.