Advanced PowerBuilder

HomePrevious Lesson: Messages
Next Lesson: SubClass

Methods

When an object receives a message, it performs the requested service by executing a method. A method is a step-by-step algorithm, which is executed in response to a message, whose name matches with the method. A method is always part of the private representation of an object; it is never part of the public interface. For example, an object can send a message to the drawing object to draw a circle, but the sender object never says how to draw the circle.
HomePrevious Lesson: Messages
Next Lesson: SubClass