Use static method Long.toString() long l = 123L; String s = java.lang.Long.toString(l); // An alternative would be to // use the following string concatenation String s2 = "" + l;
↧