What is a method?

A method is just a function that belongs to a class (or an object). It’s something the object can do.