Skip to content

Glossary: Data Structures and Algorithms in Java

constructor

A special method in a class that runs when you create an object with `new`, setting up its fields.

Where the book teaches it

Related terms

classfield