Java - Method Invocation & Execution
What is the difference between the invocation and execution of a method ? Are two the same thing ?
I don't think these are standard terms. However I understand them the following way:
- invocation is the event of issuing the call to the method; technically - placing the method onto the stack
- execution is the whole process of running the method - from invocation till completion. And execution time is period during which the method body runs.