zoukankan      html  css  js  c++  java
  • 20150928作业

     1 public class t20150928 {
     2 
     3     public static void main(String[] args) {
     4         // TODO Auto-generated method stub
     5 
     6         byte a = 3;
     7         System.out.println("a = "+a);
     8         short b = 12345;
     9         System.out.println("b = "+b);
    10         int c = 1223334444;
    11         System.out.println("c = "+c);
    12         long d = 5468923;
    13         System.out.println("d = "+d);
    14         float e = 0.37f;                //一定要在最后添加f,不然会报错
    15         System.out.println("e = "+e);
    16         double f = 34.201;
    17         System.out.println("f = 
    "+f);
    18         char g = '9';
    19         System.out.println("g = "+g);
    20         boolean z = true;
    21         boolean y = false;
    22         System.out.println("zhen = "+z);
    23         System.out.println("jia = "+y);
    24         final float PAI;
    25         PAI = 3.1415926f;
    26         System.out.println("PAI = "+PAI);
    27     }
    28 
    29 }
    t20150928

  • 相关阅读:
    梦断代码读后感一
    二阶段之五
    二柱子阶段二
    动手动脑
    二柱子
    开学测试
    jdk的安装
    软工人8月30日学习记录
    软工人8月29日学习记录
    软工人8月28日学习记录
  • 原文地址:https://www.cnblogs.com/name-hanlin/p/4845020.html
Copyright © 2011-2022 走看看