I have to write a paper about object oriented programming and I'm doing
some reading to make sure I understand it. In a book I'm reading,
however, polymorphism is defined as:
"the ability of two different objects to respond to the same request
message in their own unique way"
I thought that it was:
"the ability of same object to respond to different messages in
unique ways"
The examples in the book that follow seem to support my understanding.
Is this an error in the book or am I not understanding it?
some reading to make sure I understand it. In a book I'm reading,
however, polymorphism is defined as:
"the ability of two different objects to respond to the same request
message in their own unique way"
I thought that it was:
"the ability of same object to respond to different messages in
unique ways"
The examples in the book that follow seem to support my understanding.
Is this an error in the book or am I not understanding it?
Comment