Day5之操作运算符2

来源:互联网 发布:管家婆软件普普版 编辑:程序博客网 时间:2024/06/05 14:36
package java151122;


public class OperationVarDemo1 {
public static void main(String[] args) {
int x = 3;
x += 4;
System.out.println(x);


short s = 4;
// s=s+5;
s += 5;
System.out.println(s);


int a, b, c;
a = b = c = 4;
}


}



QQ:489552622

0 0
原创粉丝点击