| ASCII Character Set (Hex) | ||||||||||
| Java notes | ||||||||||
![]() |
||||||||||
| Constant final double PI = 3.14159 Shortcuts i += 8; f -= 8; i *= 8; i /= 8; i %= 8; x++: ++x; x--; --x; double x = 1.0; double y = 5.0; double z = x-- + (++y); y becomes 6.0, z becomes 7.0, and x becomes 0.0 Types 1 / 2 = 0 1.0 / 2 = 0.5 Casting float f = (float)10.1; Double value 10.1 is cast into a float variable int I = (int)f; = 10 |
||||||||||
| Last Updated: NEVER | ||||||||||