Temp (short for "temperature") is a parameter passed into the constructor of the Weather class. It represents the initial temperature value when creating an object from the Weather class.
Related terms
Parameter: A named input required by methods or constructors to perform certain actions or calculations.
Argument: The actual value passed into a method or constructor when invoking/calling it.
Local Variable: Variables declared within methods, constructors, or blocks, which have limited scope and are only accessible within their respective block.