forum

home / developersection / forums / how to convert from int to string in java?

How to convert from int to String in java?

Anonymous User 2205 04-Aug-2015
I'm working on a project where all conversions from int to String are done like this:
int i = 5;
String strI = "" + i;
I'm not familiar with Java. Is this usual practice or is something wrong, as I suppose?

Updated on 04-Aug-2015

I am a content writter !


Message
Can you answer this question?

Answer

1 Answers

Liked By