currentTemp is an instance variable declared within the Weather class. It stores the current temperature value for each object created from the Weather class.
Related terms
Instance Variable: A variable declared within a class, which represents the state or characteristics of individual objects created from that class.
Getter Method: A method used to retrieve the value of an instance variable from an object.
Setter Method: A method used to modify the value of an instance variable in an object.