Whenever a method executes, it takes control over execution workflow of the program. However, if in the caller method we call yet another method, the execution is transferred to this new method, until it’s code is executed, and when that finishes, the execution control is returned to the first calling method.… Read more
Posts Tagged ‘methods call’
Execution workflow
Saturday, April 15th, 2017Methods and functions declaration
Sunday, April 9th, 2017Methods and functions declarations is actually a three step process: declaration, implementation, call of our method or function.
- Declaration is the process of writing the method type, name and eventual parameters, so the program can successfully identify it.
- Implementation of a method is writing the actual code that will be executed when the method is executed.