methoddefinition
nounUK /ˈmɛθəd ˌdɛfɪˈnɪʃən/
US /ˈmɛθəd ˌdɛfəˈnɪʃən/
A method definition is the part of a computer program that explains what a method does.
The teacher showed us the method definition so we could see how the method works.
RELATED WORDS
OTHER MEANINGS
2. In programming, the line of code that names a method and lists the inputs it takes.
The method definition starts with the method's name and its parameters.
3. A written explanation of a step-by-step way to do something.
Her method definition for solving the puzzle was clear and easy to follow.
4. The act of stating clearly what a particular procedure means.
The team agreed on a method definition before they began the experiment.