Convert Integer to String

Hewlett-packard / Hp pavilion dv5 notebook...
March 2, 2009 at 06:09:37
Specs: Windows Vista Home, 1.9 GHz / 2812 MB
How do I convert an integer to a string in Java? For example, if I have the integer 10, I want the string to become “10.” Basically, I want to know what Java's equivalent of the itoa function in C is.

This is a challenge posting by CNChallenger.

See More: Convert Integer to String

Report •

March 2, 2009 at 11:59:38
If I'm understanding you correctly, I think you're wanting the toString() method.

Report •
Related Solutions

Ask Question