How does polymorphism promote extensibility?
What will be an ideal response?
Software that invokes polymorphic behavior is independent of the object types to which messages are sent as long as those types are in the same inheritance hierarchy. New object types that can respond to existing method calls can be incorporated into a system without requiring modification of the base system, except that client code that instantiates new objects must be modified to accommodate new types.
You might also like to view...
A comment that appears at the bottom of the page and contains the corresponding superscript number is called a _____.
A. footer B. note C. reference D. footnote
With regards to the World Wide Web, Web pages are stored on ________.
A. Web hosts B. Web consortiums C. Web rings D. Web servers E. Web consoles
____ is the process of making multiple copies of the database.
A. Replication B. Concurrency C. Distribution D. Redundancy
In a relational database, each row should be ____.
A. updated B. unique C. normalized D. non-descript