In Java an int can be converted into a String in to ways
String number = Integer.toString(6);
or
String number = 6 + "";
or
String number = String.valueOf(6);
Two use a function, and one is concatenation, but all achieve the same goal, Which is better to use? and which one is more efficient? Or do they all end up funneling to a single function? or does the compiler just end up swapping them out for the same function in the end?