Self-test questions

Q1) Find out what is wrong with this class declaration:

  private class someClass{
    //class implementation goes here
  }

Q2) What is encapsulation?

Q3) I don't get it all, and actually, I have more questions now than I had at the start of the chapter. What should I do?

Get Android Game Programming: A Developer’s Guide 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.