There's always a way, and the way won't always (usually isn't) the first one you think of.
If the machine you describe is mostly for show, then it could return a String representation of the...
Type: Posts; User: GregBrannon
There's always a way, and the way won't always (usually isn't) the first one you think of.
If the machine you describe is mostly for show, then it could return a String representation of the...
All elements of an array must be of the same type.
This is a good example of a try/catch that isn't doing you much good. I suspect the source file, "source.txt", isn't being found in the main() method so null is being passed to the method as the...
Your method works fine just as it is in my environment. I suspect your input file is not being found.
As Norm suggested, add some print statements to the loop to figure out what's going on.