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.

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