Hello friends,
I have a problem in deleting a particular line from a text file.
Say,
this is my text file,
java is good
java is superb
java is fantastic
My question is how to delete the second line from the file?
I am using BufferedReader,BufferedWriter, file reader, filewriter for file operations.
Any suggestions will be greatly appreciated.
Thanks.
I have a problem in deleting a particular line from a text file.
Say,
this is my text file,
java is good
java is superb
java is fantastic
My question is how to delete the second line from the file?
I am using BufferedReader,BufferedWriter, file reader, filewriter for file operations.
Any suggestions will be greatly appreciated.
Thanks.