Java Numeric Literals with Underscore
Java allows you to use underscore in numeric literals. This feature was introduced in Java 7. This feature enables you, for example, to separate groups of digits in numeric literals, which can improve the readability of your source code.
The following points are considerable:
Underscores in Numeric Literals Example
a = 1000000 b = 10.5 c = 10 d = 17 e = 9