This is the first time i have been assigned to do java at work ( though I went through formal training for 3 weeks). I have to write the text from string into the file in a particular directory. which type of writer should i choose, PrintWriter, FileWriter
. the string consists of alphanumeric text.
can someone explain what would be the best option and why?
Thanks a ton!