Underscore Numerals in Java August 22, 2017 Using underscores in numerals is allowed in Java. This is for better readability and representation. The example below illustrates the same value being written in two different forms and results