Skip to content

Glossary: Java Basics

Return

Also written: return type, return value, returns

To hand a value back from a method with `return`, which also ends the method. The return type says what type comes back, and `void` means nothing does.

Where the book teaches it

Related terms

Methodvoid