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.

Summary

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 ...

Get Learning Java by Building Android Games - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.