assume that a class named temperature has been defined. the temperature class has a constructor that accepts a double argument. assume also that a class named sensor has been defined. the sensor class has a method named getreading which returns the sensor's current reading as a double. write a static method named create that accepts a sensor object as its argument. the create method should get the sensor object's current reading. it should then r