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

Contoh Program Java (String to Integer)

Listing
public class stringinteger {
   
    public static void main(String[] args) {
  
    Integer intObj1 = new Integer("100");
    System.out.println(intObj1);
  
    String str = "100";
    Integer intObj2 = Integer.valueOf(str);
    System.out.println(intObj2);
  
  }

}
Output

0 komentar:

Posting Komentar