上QQ阅读APP看书,第一时间看更新
Chapter 8. Coding in Java Part 2 – 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, it is plain that there is more to them than has been discussed so far.
In this chapter, we will look at the following topics:
- The method structure
- Method overloading versus overriding
- A method's demo mini app
- How methods affect our variables
First, let's go through a quick method recap.