Chapter 9: Learning Java Methods
As we are starting to get comfortable with Java programming, in this chapter we will take a closer look at methods because although we know that you can call them to make them execute their code, there is more to them than we have discussed so far.
In this chapter, we will look at the following:
- Method structure
- Method overloading versus overriding
- A method demo mini-app
- How methods affect our variables
- Method recursion
First, let's go through a quick method recap.