import java.io.FileOutputStream;
import java.io.*;
public class String2File {
public String2File() {
String str = "abcdefghijklmnopqrstuvwxyz";
try {
FileOutputStream fos = new FileOutputStream("a.txt");
byte[] b = str.getBytes();
fos.write(b);
}
catch (Exception ex) {
}
}
}
786

被折叠的 条评论
为什么被折叠?



