Please enable JavaScript to use CodeHS

AP CSA: MOD-2.D.6

CodeHS Lessons

The toString method is an overridden method that is included in classes to provide a description of a specific object. It generally includes what values are stored in the instance data of the object.

11.4 Accessor Methods
12.4 Writing Classes
5.4 Accessor Methods
6.4 Writing Classes