This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
} This is for writing a file.I can able to read and write contents.after executing the writing file it will updates some contents in that txt file that time i opened that txt file i am not able to see that character in which i updated.I saw some junk character.same thing happen in running the read program.please anny body help me out of this..
DataOutputStream does not write plain text files. It writes files for consumption by DataInputStream, so the files may not be readable in a text editor. If you want a plain text file, use some sort of Reader and Writer combination.