package stream;
import java.io.IOException;
public class testDocument {
public static void main(String[] args) throws IOException {
Document test = new Document("test.txt");
test.setTeks("Hallo Dunia");
test.Simpan();
Document testbaca = new Document("test.txt");
testbaca.Baca();
System.out.println(testbaca.getTeks());
}
}
Tidak ada komentar:
Posting Komentar