JiZiHe

导航

 
package operator;

public class Demo02 {
public static void main(String[] args) {
long a =123123123123123l;
int b =123;
short c =10;
byte d =8;

System.out.println(a+b+c+d);
System.out.println(b+c+d);
System.out.println(c+d);
//cast:转换


}
}
posted on 2022-04-09 16:07  努力努努力  阅读(18)  评论(0)    收藏  举报