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
int is a Java type that represents an integer (a whole number)
int
For example, we can make an int variable like this:
int numApples = 9;