/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package biodata;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
/**
*
* @author DOA
*/
public class contohBuffer {
public static void main(String[] args) throws IOException {
BufferedReader a=new BufferedReader(new InputStreamReader(System.in));
System.out.println("Masukkan NIM anda?");
String nim=a.readLine();
System.out.println("Masukkan Nama Anda?");
String nama=a.readLine();
System.out.println("Nama = " + nama);
System.out.println("Nim = " + nim);
}
}
- Home Unlabelled Contoh Penggunaan BufferedReader Entry data







No comments:
Post a Comment