Method

Method — allow you to define blocks of code that perform specific tasks, which can be called (invoked) whenever needed.

A method in Java is defined with a name and can accept inputs (arguments) and produce a result (return value).

Method — Structure map

Clickable & Draggable!

Method — Related pages: