Introduction to OOP: Chapter 19 : A Case Study: The LAF
[next]
[previous]
[audio]
[real]
[text]
Three Categories of Methods
-
Base methods - essential functionality not usually overridden.
Example: drawing a circle.
-
Algorithm methods - the abstract algorithm that describes the
problem being solved. Example: the event loop. Not usually overridden.
-
Abstract methods - the methods that do the actual work, usually
overridden in each new application. Example - repaint the window.