Write a Temperature class with two constructors: one taking a value in degrees, and one taking nothing that starts at 20. getDegrees returns the value.
class Temperature { Temperature(); Temperature(int degrees); int getDegrees(); }
Examples
There are also 3 hidden tests you can't see. Solve the problem, not the examples.