Define polymorphism, and provide three examples.
What will be an ideal response?
Polymorphism is the concept that a message can have different meanings to different objects. For example the message GOOD NIGHT signals the PARENT object to read a bedtime story, but the same message to the DOG object tells the dog to go to sleep. The GOOD NIGHT message to the CHILD object signals it to get ready for bed.
Computer Science & Information Technology
You might also like to view...
When writing a script which statement allows you to avoid creating an endless loop in your script?
A. count B. while C. bin D. do
Computer Science & Information Technology
A comment can be deleted by right-clicking the comment balloon and clicking Delete Comment.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology