Language

Indonesian English French German Italian Portuguese Russian Spanish

Heritages Of WJ

kompas.com

KOMPAS.com
News and Service

17

Jul

BELAJAR JAVA : Mencoba Library IO, dengan program yang sederhana PDF Print E-mail
Written by Kuncen Web   

Mencoba Library IO, Library untuk input dan output, kalau mau silahkan di copy paste (tapi sebaiknya anda ketik ulang supaya lebih memahami baris demi baris dari kode program ini) ke notepad dan save as dengan nama file Input.java sewaktu save as pada save as type pilih All File


	import java.io.*;

	

	public class Input{

	    public static void main(String args[]){

	        try{

	            int nama;

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

	            BufferedReader tulis = new BufferedReader(new InputStreamReader(System.in));

	            nama = Integer.parseInt( tulis.readLine());

	            System.out.println("Nama Anda : " +nama);

	        }

	        catch (IOException ie){

	            System.out.println(ie.getMessage());

	        }

	    }

	}

	

 

Add comment


Security code
Refresh

JoomlaWatch Stats 1.2.9 by Matej Koval

Digital Watch

Bookmark

Facebook MySpace Twitter Digg Google Bookmarks RSS Feed 

Latest Comments

  • " give me Motivation.!! good job.. 8) More...
    By LiLy Hayati
  • dEngan ada nya halman ne, membantu q, menyelesaika... More...
    By LiLy Hayati
  • wahhh seru baget ya,, aku seneng juga tuh kepengen... More...
    By Juni
  • tanks infox bro More...
    By aim_anper
  • you really help me at this time More...
    By tina latief
RSS

ShoutBOX


ShoutMix chat widget

Traffic Rank



Countries

50.8%Indonesia Indonesia
29.3%Australia Australia
8.1%Malaysia Malaysia
7%United States United States
2.1%Canada Canada

Visitors

Today: 111
Yesterday: 75
This Week: 307
Last Week: 695
This Month: 786
Last Month: 2426
Total: 53861


Adsense Indonesia