English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

PrintStream ps = new PrintStream(
new FileOutputStream(
new File("hello.txt1")));
how do i create another file like hello.txt2 to Printstream?

2007-10-15 18:44:29 · 1 answers · asked by Anonymous in Computers & Internet Programming & Design

1 answers

Have you tried
PrintStream ps1 = new PrintStream(
new FileOutputStream(
new File("hello.txt1")));
PrintStream ps2 = new PrintStream(
new FileOutputStream(
new File("hello.txt2")));

2007-10-15 23:56:23 · answer #1 · answered by AnalProgrammer 7 · 0 0

fedest.com, questions and answers