Hexadecimal literals are whole numbers of the base 16 numbering system. They are a sub-grouping of the general category of integer literals. Hexadecimal literals are whole numbers that can be assigned to variables of the following data types: byte, char, short, int, and long. Hexadecimal literals begin with a 0X or a 0x prefix. The Hexadecimal numbering system uses the following numbers and letters: 0123456789ABCDEF. A,B,C,D,E, and F represent the decimal numbers 10,11,12,13,14, and 15. The letters A,B,C,D,E, and F can be either uppercase or lowercase - a,b,c,d,e, and f.