11.1 The Time Class A common reason to define a new class is to encapsulate related data in an object that can be treated as a single unit . That way, we can use objects as parameters and return values, rather than passing and returning multiple values.