| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/AlohaWorld/Lessons4JavaSE/master/src/unit06/TestFileStream.java | [Back] [Original] |
package unit06;
import java.io.*;
public class TestFileStream {
public static void main(String[] args) throws IOException {
// Create an output stream to the file
FileOutputStream output = new FileOutputStream("temp.dat");
// Output values to the file
for (int i = 1; i
| Web Proxy Viewer | New URL | Original Page |