A type is the category to which a value belongs.
However Java uses more terms. For example for integers, Java uses the term: int. So if I want to save the value 1 in Java, this is the way to do it:
WHAT IS DATA?
Data is another word for information. People don’t say it like this, but translated to simplified English, programmers say: (INFORMATION) TYPE. And that makes sense, because in Java you have to mention what kind of information you save.
Here you can find all the DIFFERENT (DATA) TYPES in Java.