Cannot invoke toString() on the primitive type int code example
Example: Cannot invoke toString() on the primitive type int
int foo = 12345;
String foo_String = Integer.toString(foo);
int foo = 12345;
String foo_String = Integer.toString(foo);