Feb 28, 2020 · Using Data Types. A data type is a set of values and a set of operations defined on those values. The primitive data types that you have been using are supplemented in Java by extensive libraries of reference types that are tailored for a large variety of appliions. In this section, we consider reference types for string processing and image processing.