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) {
}
}
}