运算符
# 运算符 ``` java public class demo05 { public static void main(String[] args) { long a=123456788l; int b =520 ; short c= 20; byte d=10; System.out.println(a+b+c+d);//long 有long转化为long System.out.println(b+c+d);//int 有int转化为int System.out.println(c+d);//int 低于int 转化为int //关系运算符返回值:false ture 布尔值 int a1 = 10; int a2 =20; int a3 =22; //%取模符号,取余 System.out.println(a3%a1); System.out.println(a1>a2); System.out.println(a1<a2); System.out.println(a1!=a2); } } ```