Read more: http://cheater-handal.blogspot.com/2011/05/cara-membuat-ucapan-selamat-tinggal-di.html#ixzz2VzHob9hY Contoh Program Java (Integer To String) | NOTE FOR LIFE

Contoh Program Java (Integer To String)

Listing
import java.io.*;
import java.lang.*;

public class  IntegerToString {
  public static void main(String[] args) throws IOException{
  BufferedReader read =
  new BufferedReader(new InputStreamReader(System.in));
  System.out.println("Enter the integer value!");
  String str = read.readLine();
  String s = new Integer(str).toString();
  System.out.println("String:=" +s);
  }
}

 Output

0 komentar:

Posting Komentar