The valueOf(int inum) method in Java used for converting int value into string. Basically, inum converts the int value into a String. See the example below...
A simple example...
public static void main(String[] args)
{
String Str = String.valueOf(555);
// int values.
System.out.println(Str);
}
}
the output is:
555
|
Recommend the tutorial |
Ask Questions? Discuss: java.lang.String.valueOf(int inum)
Post your Comment