In
object-oriented programming, a
procedure that is executed when an
object receives a message. A method is really the same as a
procedure, function , or
routine in procedural programming languages. The only difference is that in object-oriented programming, a method is always associated with a
class.