NumberFormatException

Published Apr 1, 2022
Contribute to Docs

The NumberFormatException is an exception that occurs when an attempt is made to convert a string to a numeric type and the string contains non-numeric characters.

All contributors

Looking to contribute?

Learn Java on Codecademy