When hardcoding numbers with many digits, such as 1 million (1000000) or credit card numbers, have you ever experienced issues like "I don't know how many zeros there are" or "I made a bug by ...
This article completes my introduction to new Java language features introduced in Project Coin, the JDK 7 language update. So far I have introduced try-with-resources, switch-on-string, multi-catch, ...
One side to all of these is operator overloading, and another side is the literal syntax. In some small code samples, it seems like using extended literals, together with methods for arithmetic ...