how to change the datatype from int to string code example Example: int to string java int x = 3; Integer.toString(int)