How to convert int to String in java?



You can convert a String value to an integer either using the valueOf() method of the String class or using the toString() method of the Integer class.




Advertisements