在Java中,我有一个名为"text"的String变量中的文本字段的文本.
如何将"text"变量的内容保存到文件中?
java file-io file text-files
file ×1
file-io ×1
java ×1
text-files ×1