Say I have:
int someValue = 42;
Now I want to convert that int value to a String. Which way is more efficient?
// One
String stringValue = Integer.toString(someValue);
// Two
String stringValue = String.valueOf(someValue);
// Three
String stringValue = someValue + "";
I am just curious if there is any real difference or one is better than the other?