Florence Griffith Joyner, who was nicknamed FloJo, has held the women's world record at 100 meters since July 16, 1988. That day she clocked a time of 10.49 seconds. Joyner â¦past away in 1998. Current the fastest women on the planet is Carmelita Jeter. She might pass Joyner with in the coming years.
1 String input = stdin.readLine(); // from console input example above. 2  Use the Integer class to parse the string of characters into an integer. 3  int number = Integer.parseInt(input); // converts a String into an int value. 4  In our case, we needed to convert a String into an int value. In our case, we needed to convert a String into an int value. 2  The parseInt method of the Integer class performs this action. 3  Be sure to review the Integer class javadoc for more information about this and other methods of the Integer class.
1 If you're interested in converting a String to an Integer object, use the valueOf() method of the Integer class instead of the parseInt() method. 2  If you want to convert strings to other Java primitive fields, for example, a long, use methods like Long.parseLong() , and so on.f the String represented by the variable myString is a valid integer like â1â, â200â, and so on, it will be converted to a Java int. If it fails for any reason, the conversion can throw a NumberFormatException, so your code should be a little bit longer to account for this, as shown in the next example.