|
12 7 A good answer might be:There is a space in front of the "7" which cannot be part of a number. | |
The trim() MethodLeading and trailing spaces can be removed from a string by using the trim() method of class String. For example, is" 143 ".trim() This is useful in correcting some slightly defective input files. Here is the sample program with this enhancement:"143"
12 seven | |
QUESTION 10:What is wrong with this file? Click Here after you have answered the question |