Return
A return statement returns control from a function or method back to its caller.
Related concepts: FunctionMethodCallControl Flow
Closest Wikipedia entry: Return statement
Misconceptions about Return14 documented Misconceptions
Check YourselfConstructorReturnsObject
Constructors need to return objects
DeferredReturn
A return statement in the middle of a method doesn't return immediately
ReturnCall
Return statements need () around the return value
ReturnUnwindsMultipleFrames
A return statement can unwind multiple call stack frames
UseOfSelfTypeImpliesRecursiveType
If a class has a method that has a local variable, parameter, or return value with the class as its type, the class is a recursive type
VoidMethodReturnsValue
A method with void return type can return a value