Java View all facts Glossary Help |
syntactic unit > statement > control flow statement > return statement > return statement that does not return a value |
return statement that does not return a value | ||||
subject | fact |
return statement that does not return a value | has example return; | |
is a subtopic of Methods | ||
is a kind of return statement | ||
return statement | has purpose to exit from the current method and jump back to the statement within the calling method that follows the original method call | |
has syntax return expression | ||
has type that is the return type of the method or a subtype of it | ||
statement | is terminated by a semicolon | |
should be not more than one line long if possible | ||
syntactic unit | has syntax rule bold = mandatory |