Use underscores with numeric literals in Java

JavaCodeDaily's tweet image. Use underscores with numeric literals in Java

I knew #kotlin supports this, but good to know that #java already has this feature.


Heum. I wrote Java code for a while, but never knew this. Is the value of million integer variable 1,000,000 or something else ? Please correct me if I’m wrong.


I have been using this for many years now


Never knew about this... Thanks for the tip...


United States Xu hướng
Loading...

Something went wrong.


Something went wrong.