Photo by Markus Spiske on Unsplash
Java Data Types
Java is a statically typed language, it does not allow to change variable's data type: once declared, they cannot be changed. There are two major categories of data types in Java: Primitive data types and Non-primitive data types.