public class MainClass { public static void main(String[] arg) {
int count = 1;
count += 5;
System.out.println(count);
count = count + 5;
System.out.println(count);
}
}
赋值运算符
最新推荐文章于 2024-06-14 17:19:32 发布
public class MainClass { public static void main(String[] arg) {
int count = 1;
count += 5;
System.out.println(count);
count = count + 5;
System.out.println(count);
}
}