change into to str java code example Example: java how to cast int to String int i = 1234; String s = String.ValueOf(i)