Yes, the code should test if there is input before trying to convert it.
Type: Posts; User: Norm
Yes, the code should test if there is input before trying to convert it.
The String passed to the parseInt() method at line 73 did NOT contain a valid number. The code should either check that the String is not empty and/or it should catch the exception when the String...