> For the complete documentation index, see [llms.txt](https://codehs.gitbook.io/apjava/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://codehs.gitbook.io/apjava/methods.md).

# Methods

Methods are segments of code that perform a specific task. This module teaches you how to define methods in your programs and uses the autograder to test if your methods are working correctly.
