Java · Static methods
A method gives a few lines a name, so one call can run them wherever the program needs them.