Hackerrank Java Datatypes Solution
Java has 8 primitive data types; char, boolean, byte, short, int, long, float, and double. For this exercise, we'll work with the primitives used to hold integer values (byte, short, int, and long):
* A byte is an 8-bit signed integer.
* A short is a 16-bit signed integer.
* An