New course! Every coder should learn Generative AI!
Try a free lesson+ 2
hy
how to convert numeric String to int in Java?
1 Answer
+ 10
int x=Integer.parseInt(varName);//varName is variable name of the String which carries numeric data
how to convert numeric String to int in Java?