In Object-Oriented Programming What Is an Object’s Operation’s Signature?

Question
You are learning about OOP. You know object's have operations. You read about operations having signatures. What are signatures?

Answer
An object's operation's signature is the composite of these three things:

  1. the operation's name
  2. the parameter objects the operation accepts
  3. the return value of the operation

(This was paraphrased from page 13 of Design Patterns). To learn more about what a signature is, see these links:

Leave a comment

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