/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package latihan;
/**
*
* @author Dians
*/import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
/**
* @param args the command line arguments
*/public static void main(String[] args) {
// TODO code application logic here
BufferedReader princess = new BufferedReader
(new InputStreamReader (System.in));
String Nama = " ";
System.out.println("Inputkan Nama : ");
try
{
Nama = princess.readLine();
}
System.out.println("Nama Anda Adalah : " +Nama);
}
}
Selamat Belajar.. (^_^)
Tidak ada komentar:
Posting Komentar