数据类型

package test;

public class test {
    public static long kk=3;//全局变量
        public static void main(String[] args) {
            String s="hello";
            int a=1;
            final double aa=0.88;
            float ss=1231.3f;
            boolean f=false;
            System.out.println("整形"+a);
            System.out.println("布尔型"+f );
            System.out.println("全局变量"+kk);
            
        }
}

 

posted @ 2017-05-15 22:12  呵呵呵学习  阅读(95)  评论(0)    收藏  举报