Bilangan Bulat

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package program;

/**
 *
 * @author Administrator
 */
public class BilBulat166 {
    public static void main(String[] args) {
        byte bil1=50;
        byte bil2=(byte)-130;
        byte bil3=(byte) 128;
        byte bil4=(byte) 257;

        System.out.println("Byte bil1 ="+bil1);
        System.out.println("Byte bil2 ="+bil2);
        System.out.println("Byte bil3 ="+bil3);
        System.out.println("Byte bil4 ="+bil4);

    }

}

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