AP® Computer Science A glossary
Data type
Course: AP® Computer Science A Shows up in: Unit 1: Using Objects and Methods
A set of values and a corresponding set of operations on those values. Every data type is primitive or reference.
Appears in the course and exam description (CED): 1.2.A.1
Every value in Java has a data type. The type decides which values are allowed and which operations you can use. The two categories are primitive types (such as int) and reference types (such as String).