ParseInt() is a method in Java that is used to convert the numbers represented as a string. These numbers are an integer type, and through this method, the string gets converted to an integer.
ParseInt() is used to parse the string and returns it to an integer.


parseInt(string, radix)

BY Best Interview Question ON 30 Jun 2019