What happens when a method is called?
Control is transferred to the method called and execution continues inside the method.
Control is transferred back to the caller when a return statement is executed inside the method.
Previous slide
Next slide
Back to first slide
View graphic version