Summary
We now know almost everything there is to know about methods. Parameters vs arguments, signatures, bodies, access specifiers and return types. The one missing link is how methods relate to classes. The class-method relationship gets blown wide open in the much-trailed Chapter 8, Object-Oriented Programming which is drawing ever closer. For now, there is a more pressing problem that needs solving.
Before we congratulate ourselves too much we need to address the huge, elephant in the room.
There is nothing on the screen! Now we have had a full lesson on variables, an introduction to classes and a thorough dip into methods, we can begin to put this right. In the next chapter, we will start to draw the graphics of the Sub' Hunter game on the screen.