Hi,
My
test main class allows user input to create one integer, which I've converted to a
string, plus four strings representing details to be written to a file. When these details are written to the file they initially read correctly, eg:
111,hello one,hello two,hello three,hello four
The problem occurs when I try to write a second set if user entry values to this file. It is expecting four strings as words, and therefore reads and writes the above line as follows,
111,,hello,one,hello,two,hello,three,hello
I have absolutely no idea why this is happening and would really appreciate some help or advice with this problem.
The current code for my test main class is as follows,
Any help or advice really appreciated at this stage!!