Static vs. Virtual Methods
The definitions of static and virtual methods are below. You'll probably want to refer back to them several times: static methods: the default; if redefined by a descendant, parameter lists and type returned can differ at each definition; calls resolved at COMPILE-TIME virtual methods: virtual directive required in the method heading in the interface part; virtual method headings must be identical in the ancestor and in all descendant object types; calls resolved at RUN-TIME; objects containing virtual methods must be explicitly initialized at run time by
. . .
Some common words found in the essay are:
, BINDING EXCITING, F1 C1, Rectangle ComputeArea, C1 Circle, BINDING Virtual, F1 ALLOWED, CliFigFapas Trace, F1 Note, virtual methods, C1--so F1, late binding, message sent, data f1, static methods, contains data f1, object type, static virtual, polymorphism late, object types, calls resolved, polymorphism late binding, static virtual methods, virtual methods required,
Approximate Word count = 489
Approximate Pages = 2 (250 words per page double spaced)
|