char - and all the other primitive data types - can only hold distinct number of different values. The limits are documented in Oracle's Tutorial on the Primitive Data Types.

Floating point...