Constituents
Learn what constitutes a method.
There are four things that constitute a method:
- A name
- A block of code
- Accepting input (optional)
- Returning output
Not all methods actually need input (so they don’t take any), and we don’t always care about the output a method ...