Answer:
The correct answer is d. Attributes are specified by the class’s methods.
Explanation:
Attributes are the individual characteristics that differentiate one object from another and determine its appearance, state or other qualities. Attributes are stored in variables called instance, and each particular object can have different values for these variables. Instance variables, also called data members, are declared in the class but their values are fixed and changed in the object. In addition to the instance variables there are class variables, which apply to the class and all its instances.
Attributes, also called data or member variables are portions of information that an object possesses or knows about itself. A class can have any number of attributes or have none. They are declared with an identifier and the corresponding type of data.