 The compiler ignores these underscores.int bin = 0b1101_0010_1011_0100;
int hex = 0x2F_BB_4A_F1;
int dec = 1_000_500_954;
double real = 1_500.200_2e-1_000;

Generally, it may be put only between digit characters.It cannot be put at the beginning () or the end of the value ( or ), next to the decimal in floating point values (), next to the exponent character () and next to the type specifier ().