I want to convert a primitive to a string, and I tried:
myInt.toString();
This fails with the error:
int cannot be derefere
Ditto on what Justin said, but you should do this instead:
Integer.toString(myInt);
It saves an allocation or two and is more readable.