2nd Sep 2022, 2:43 PM
SAIFULLAHI KHAMISU

1 Resposta
+ 4
Have you tried parseInt?
int x = Integer.parseInt("12");
2nd Sep 2022, 2:50 PM
Lisa

Costuma ter perguntas como essa?
Aprenda de maneira mais eficiente, de graça:
How to Convert a String to an Integer