Question: what is the difference between methods and functions?
Answer: A method, like a function, is a set of instructions that perform a task. The difference is that a method is associated with an object, while a function is not.