You're also attempting to use the name of a class as if it were an object. And a 'Reading' already 'has-a' TempScale, so how are you initializing that? Last, even if you were printing an object, how does the program know how to print a Reading or a TempScale?