Hi

String.valueOf(...) is better for primitive types because there is no need to create new instance of wrapper Object.