Posts by sheepCow • 21 points
1 post
-
2
votes1
answer3666
viewsA: How to convert an entire string?
Java provides the following method: int one = Integer.parseInt("1"); // Retorna um tipo primitivo (int) This method takes a string and converts to an integer, just as you need. Integer one =…