Jump to content

puneet

New Members
  • Posts

    1
  • Joined

  • Last visited

puneet's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Write a class for feeding a horse. The Horse object should keep track of the last time it was fed and calculate when it is hungry. Assume there is another class that checks the horse every 10 minutes to see if it is hungry and if it is, it calls another method which feeds it. There should be about 3 methods on the class, but more can be added if needed. It's was question in my exam which I skipped Can somebody hep me with that Please
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.