What characteristic of object oriented programming is this illustrating?

Sam creates a program that has three different objects and each receives the input "Bob." Object A would process this input and produce the output "43-year-old white male." Object B would receive the input "Bob" and produce the output "Husband of Sally." Object C would produce the output of "Member of User group." What characteristic of object oriented programming is this illustrating?

Sam creates a program that has three different objects and each receives the input "Bob." Object A would process this input and produce the output "43-year-old white male." Object B would receive the input "Bob" and produce the output "Husband of Sally." Object C would produce the output of "Member of User group." What characteristic of object oriented programming is this illustrating?

A.
Deferred commitment

B.
Agility

C.
Continuity

D.
Polymorphism

Explanation:
Polymorphism is when different objects respond to the same command,input, or message in different ways.



Leave a Reply 1

Your email address will not be published. Required fields are marked *