Php Class

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.

Can any one help me.

No one is going to do your homework for you. But you should make an honest attempt to do it on your own and if you have a SPECIFIC question or ISSUE. Then others might be willing to help you out.

Sponsor our Newsletter | Privacy Policy | Terms of Service