Suppose that I have a text file and I want to insert a character in each of its line at some position. Then can I insert a character there without rewriting all the characters ahead of that position with one position ahead.
Like, if I try to do that in C/C++ then before adding a character in the middle of a text file then we need to move all characters ahead of that position with one position so I do not loose any character.
So, is it possible in java to do it without moving rest of the characters.