Answers to Self-Review Exercise

F.1

a) public services, public interface.

b) format.

c) shadows.

d) final.

e) principle of least privilege.

f) default constructor.

g) toString.

h) values.

i) has-a.

j) enum.

k) static.

Get Android™ How to Program, 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.