This figure illustrates a simple Java class. The class PhoneNumber contains two attributes: areaCode and number, both of type Object.