是否有类型自动转换 相同类型的数据进行运算,结果也是同类型数据
++:自增 给自变量增加一个1 --:自减 给自变量减一个1 相同点:只能用于变量运算 K=a++;//先把a的值取出来赋值给k,然后再给a自增1 k=++a;//先把a赋值1, I*=0.1 i=(int)(i0.1); i是整型 0.1默认是double 10.1 double 赋值给i系统Automatically Choose Connection Type自动进行强制类型转换 物理层 数据连接层 网络层 运输层 会话层 表示层 应用层 Router 路由器 Switch交换机 Hub集线器 Connecyions连接介质 End Devices终端设备 Automatically Choose connection Type 自动地选择连接类型 Console 控制台连接 一般用来设置网络设备 Copper Straight-Through 铜 直通线 判断x的值是否在(-20,-9)之间 数学写法:-20<X<-9 Java程序中:-20<X<-9 -20<-15 true<-9 x>-20&X<-9 数学上的交集 The operator<is undefined for the argument type(s) boolean, int 这个操作字符<没有被定义 为 布尔型 整型 参数 a b a^b true true false true false true false true true false false false ^的特点:左右相同,结果为假;左右不同,结果为真 a b a|b a||b true false true true true true true true false true true true false false false false |与||相同点:左右有一个为真,那么结果就为真;左右全为假时,结果才为假x>10|X<-5 a b a%b a%%b true true true true true false false false false true false false false false false false &与&&相同点:左右同时为真,结果为真;有一个为假,那么结果为假 0000 0011 0000 0011 0000 0110 & 0000 0110 | 0000 0010 2 0000 0111 7 0000 0011 0000 0110 ^ 0000 0101 5 Ctrl+1 1度角=3.14/180弧度