zoukankan      html  css  js  c++  java
  • 基本数据类型课上练习

    package hjsg;
    
    public class fff {
    
        public static void main(String[] args) {
    
            System.out.println("hello");
            byte mybyte=121;
            System.out.println("mybyte=124");
            short myshort=2456;
            System.out.println(myshort);
            
        int myint=123654;
        long mylong=313131352123L;
        
        System.out.println(mybyte+myshort*myint*mylong)    ;
        float myfloat=3.25642f;
        double d1=125.321;
        char mychar='a'    ;
        System.out.println(mychar);
        double result=mybyte+myshort+myint+mylong+myfloat+d1;
        System.out.println(result);    
        char mychar2=97;
        System.out.println(mychar2);
        System.out.println("今天学了数据类型
    我很高兴");
        System.out.println("今天学了数据类型
    我很高兴");
        boolean good=true;
        boolean bad=false;
        System.out.println(good);
        final int fist=1;
        System.out.println(fist);
            
            
        }
    
    }
  • 相关阅读:
    Spring----MyBatis整合
    VueRouter案列
    Vue-Router
    axios用法
    Fetch的使用
    Promise用法
    组件之间传值
    局部组件注册方式
    学习组件与模板
    如何实现new,call,apply,bind的底层原理。
  • 原文地址:https://www.cnblogs.com/crazy-zw/p/5090481.html
Copyright © 2011-2022 走看看