A

Admin • 828.03K Points
Coach

Q. Which exception occurs when parsing an invalid number format?

  • (A) ParseException
  • (B) NumberFormatException
  • (C) IllegalArgumentException
  • (D) FormatMismatchException

Explanation by: Admin
NumberFormatException occurs when a string can't be converted to a number.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.