Saving String

hi guys im new to all this . I have a question if i want to say a string would i do it using a FileoutputStream();
[121 byte] By [the_egyptiangokua] at [2007-11-26 16:17:20]
# 1
BufferedWriter buffer = new BufferedWriter(new FileWriter("test.txt"));buffer.write("some text...");buffer.close();
prometheuzza at 2007-7-8 22:40:27 > top of Java-index,Other Topics,Java Game Development...