Computer Science, asked by Dhita5520, 10 months ago

What does Integer.parseInt() method do in Java?

Answers

Answered by jaswanth200518
1

The method generally used to convert String to Integer in Java is parseInt(). There are two variants of this method: public static int parseInt(String s) throws NumberFormatException - This function parses the string argument as a signed decimal integer.

Similar questions