Data types are used to represent type of the variable & expressions.Representing how much memory is allocated for variable.Specifies range value of the variable. There are 8 primitive data types in java Data Type size(in bytes) Range default values byte 1 -128 to 127 0 short 2 -32768 0 int 4 -2147483648 to 2147483647 0Continue reading “What is java primitive data types”