/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package program;
/**
*
* @author Administrator
*/
public class castingdanpromosi {
public static void main(String[] args) {
int bil1 = 100;
char hasil=(char)bil1;
System.out.println("hasil adalah = "+hasil);
}
}
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package program;
/**
*
* @author Administrator
*/
public class castingdanpromosi {
public static void main(String[] args) {
int bil1 = 100;
char hasil=(char)bil1;
System.out.println("hasil adalah = "+hasil);
}
}
0 komentar:
Post a Comment