Comp 110 Methods

What is a method?

A method in object-oriented programming is a capability of a class. All objects of a class share the same set of methods.