Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.io.*;
- public class IOTest {
- public static void main(String args[]) {
- try {
- PrintWriter p = new PrintWriter(new BufferedWriter(new FileWriter("test.txt")));
- p.println("We'll be doing a quiz just to check tonight who is with us");
- p.close();
- } catch(Exception e) {}
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement