Wednesday, 21 January 2015

convert int to string in java

convert int to string in java

Use String.valueOf(id);

int id =2;

String name = String.valueOf(id);

No comments:

Post a Comment