A method's declaration needs a return type (or void
if it doesn't return anything), a name and parentheses. The code block in the braces is executed when we call the method.
Psst: we need to put these methods outside of main()
but call them from main()
.
Oh noes! When calling a method we need to remember to use parentheses.