casting dan promosi

/*
 * 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

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | SharePoint Demo