Please enable JavaScript to use CodeHS

AP CSA: MOD-1.E.4

CodeHS Lessons

A method or constructor call interrupts the sequential execution of statements, causing the program to first execute the statements in the method or constructor before continuing. Once the last statement in the method or constructor has executed or a return statement is executed, flow of control is returned to the point immediately following where the method or constructor was called.

8.4 Calling a Void Method
12.5 Writing Classes and Instance Methods
2.4 Calling a Void Method
6.5 Writing Classes and Instance Methods
4.5 Writing Classes and Instance Methods