Please enable JavaScript to use CodeHS

CodeHS Glossary


toString Java

toString is a special method you write in your class that returns a String representation of the object.