Posted by: Hatta on: October 19, 2011
try {
BufferedReader in = new BufferedReader(new FileReader("namefile"));
String str;
while ((str = in.readLine()) != null) {
System.out.println(str); // hasil bacanya
}
in.close();
} catch (IOException e) {
}
Recent Comments