Hi fellow Java-know-it-alls,
I have known this for years, but whats the reasoning behind this one:
int a = 5;
a *= 0.5f; // all fine ?!
a = a * 0.5f; // compiler error
I know the 2nd line makes an implicit cast in bytecode, but still…