It creates only his.txt file, but
String ret is not added to his.txt file. File is blank. Why?
import java.io.*;
public class fil {
static PrintWriter history;
public static void main(String args[]){
try {
history = new PrintWriter(new FileWriter("his.txt"));
//history.print("ret");
} catch(IOException e) {}
history.print("ret");
}
}