Please enable JavaScript to use CodeHS

AP CSA: MOD-1.G.1

CodeHS Lessons

Non-void methods return a value that is the same type as the return type in the signature. To use the return value when calling a non-void method, it must be stored in a variable or used as part of an expression.

Standard
2.6 Calling a Non-void Method
Standard
3.3 Methods and Return Values
Standard
3.6 Calling a Non-void Method
Standard
5.3 Methods and Return Values
Standard
8.6 Calling a Non-void Method
Standard
8.6 Calling a Non-void Method
Standard
5.3 Methods and Return Values