There is a room equipped with a temperature sensor. And the temperature sensor can have 'C or 'F type of temperature by choice. So here are some questions.
Each TSensor is independent, which means tempSensor in Room is just a pointer. In this case, the aggregation is a proper relationship?
Temperature class is instantiated by other classes including TSensor. And it behaves like just a data type. In this case, is Composition a proper relationship?