Is there a shorter hand way (more space savy) way to compact a toString
than this?
int number = 20;
String numberChange = Integer.toString(number);
Is there a shorter hand way (more space savy) way to compact a toString
than this?
int number = 20;
String numberChange = Integer.toString(number);
Java will convert things to string when adding something to a string.
String numberChange = ""+number;