Java Int to String

  • + 0 comments

    i am totally confused. because of i am writing again and again if condition unnecessary. after i realised what kind of mistake doing again nd again. only i have to write one line code.

    String s=Integer.toString(n);

    that's all set.