Question: what are the two main categories of datatype?
Answer: There are two major categories of data types in the Java language: primitive types and reference types. Primitive types contain a single value and include types such as integer, floating point, character, and boolean.