Self-test questions

Q1) What should you do if all this talk of life cycles, classes, and methods is a bit bemusing?

Q2) What exactly is a Java class?

Q3) What is the difference between a method and a class?

Q4) Take a look at the Android developer site and its more technical explanation of the phases of the life cycle at http://developer.android.com/reference/android/app/Activity.html. Can you see the phase and its related method that we haven't discussed? When would it be triggered in an app? What is the precise pathway an activity takes from creation to destruction?

Get Learning Java by Building Android Games 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.