/ Published in: Java
Read and write to files in java
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
import java.io.*; import java.util.*; class ... try { //Read //Write //Read a line FileI.nextLine(); //Write a line FileO.write(""); }