devxlogo

August 22, 2017

Underscore Numerals in Java

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