Tidak dapat memohon tostring () pada tipe primitif int int

int foo = 12345;
String foo_String = Integer.toString(foo);
Jolly Jaguar