Binary Literals - a new feature of Java 7.
So beside 0x... notation for hexadecimal you can now write 0b... for binary. What a step forward (for the Java community).
I still like Smalltalks base/radix notation since I can freely choose the base (binary, octal, decimal, ...)
2r10010010
16rA000
...
No comments:
Post a Comment