methodinvocation
nounUK /ˈmɛθəd ɪnvəˈkeɪʃən/
US /ˈmɛθəd ɪnvəˈkeɪʃən/
The act of telling a method to run and do its job.
The program crashed during the method invocation because the argument was missing.
RELATED WORDS
OTHER MEANINGS
2. In object-oriented programming, the process of sending a message to an object to trigger one of its methods.
Dynamic method invocation lets the runtime decide which implementation to execute.
3. A syntactic expression in source code that names a method and supplies its arguments.
The compiler parsed the method invocation and checked the parameter types.
4. The runtime event of entering a method's body, often recorded for debugging or profiling.
The profiler logged every method invocation to find the slowest function.