Explore what CodeHS has to offer for districts, schools, and teachers.
Click on one of our programs below to get started coding in the sandbox!
View All
A constructor is a special method of a Class that constructs a new object (a new instance) of the Class and sets the initial values for the instance variables.