Syafi'i Blog's'

Kamis, 08 Januari 2009

input keyboard

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;

public class input_keyboard
{
public static void main( String[] args )
{
BufferedReader dataIn = new BufferedReader(new
InputStreamReader( System.in) );

String name = "";

System.out.print("Masukan Nama : ");

try
{
name = dataIn.readLine();
}

catch( IOException e )
{
System.out.println("Error!");
}

System.out.println("Selamat Pagi Tuan " + name +"!!!");
}
}

1 komentar:

Anonim mengatakan...

Who knows where to download XRumer 5.0 Palladium?
Help, please. All recommend this program to effectively advertise on the Internet, this is the best program!

Template by : auraipank x-template.blogspot.com