how can i type cast paint into string in java code example
Example 1: how to make an int into a string java
int i=10;
String s=String.valueOf(i);
Example 2: int to string java
int i=10;
String s=String.valueOf(i);//Now it will return "10"
int i=10;
String s=String.valueOf(i);
int i=10;
String s=String.valueOf(i);//Now it will return "10"