A single numeric type

Java subdivides the general numeric type into six different types.

Some of them are whole (integer) values, and some are allowed to have fractional parts.

The main differences among them has to do with the accuracy of arithmetic that can be performed using the different numeric types. 

To make life easier for you, Alice treats all numeric types as the single type Number.

The type Number may have a fractional part, such as: