+ 1

How to convert INT to String in Java language?

If user inputs the int value as 625. And I want to convert it's data type into string. By keeping the input same. means int i= 625; and I want to convert it into String data type.. like String j= int i; 🙏🙏🙏 please help me in this..

25th Feb 2018, 3:46 PM
Rohan Keshav Eppakayal
Rohan Keshav Eppakayal - avatar
7 Respostas
+ 7
@Rohan Seeing your problem was resolved already it would be great if you can mark the answer that you find useful to encourage the community to help each other out. 😉
25th Feb 2018, 4:00 PM
Zephyr Koo
Zephyr Koo - avatar
+ 2
Integer.toString(int)
25th Feb 2018, 3:52 PM
LordHill
LordHill - avatar
+ 2
thank you so much..... Lord Hill and Sergiu Panaite..
25th Feb 2018, 3:57 PM
Rohan Keshav Eppakayal
Rohan Keshav Eppakayal - avatar
+ 2
I did one small Java program... I will paste it soon
25th Feb 2018, 4:03 PM
Rohan Keshav Eppakayal
Rohan Keshav Eppakayal - avatar
+ 1
ok sir..
25th Feb 2018, 4:03 PM
Rohan Keshav Eppakayal
Rohan Keshav Eppakayal - avatar