forum

Home / DeveloperSection / Forums / How to convert from int to String in java?

How to convert from int to String in java?

Anonymous User 1812 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 !

Can you answer this question?


Answer

1 Answers

Liked By