From time to time I need to have a peek on the basics of any language I know for that reason I am wrting these toturial blogs. any programming language must have to Work with numbers. in java is easy as we use primitive data types such as byte, int, long, double, etc. 

Example:

int i = 5000;
float gpa = 13.65;
byte mask = 0xaf;

In development, There are reasons to use objects in place of primitives, and the Java platform provides wrapper classes for each of the primitive data types. These classes “wrap” the primitive in an object. All of the numeric wrapper classes (Integer, Long, Byte, Double, Float, Short)  are subclasses of the abstract class Number:

Java Classes