All pastes #894850 Raw Edit

for peehpee

public text v1 · immutable
·published 2008-02-07 10:17 UTC
rendered paste body
import java.io.*;

public class WriteMessage {
    public static void main(String Args[]) {
        String message = "LIEK HAI DER MEESTAH GAZZA";
        
	try {
        	FileOutputStream out = new FileOutputStream("message.txt");
		PrintStream p = new PrintStream( out );
        	p.println(message);
		p.close();

	}catch (IOException e){
                        System.err.println ("Error writing to file");
	}
    }
}