Java Int to String

  • + 0 comments

    int n; Integer num = n; String s = num.toString(); OR String s = Integer.toString(n); OR String str = String.valueOf(number); OR String concatenation: n+" "; OR String str = String.format("%d", number);