All Subjects
Light
AP Computer Science A
In this context, '4' refers to an integer literal with the value 4. It is a specific numeric value written directly in source code.
Literal: A fixed value expressed in source code, such as numbers or strings.
Numeric Value: Any numerical representation used for mathematical calculations or comparisons.
Constant: A named storage location whose value cannot be changed during program execution.