http://www.javakc.com
2022-08-05 16:51:10 查看(2) 回复(0)
package day02; public class d04赋值运算符 { public static void main(String[] args) { // 将10赋值给x int x = 10; // x+1 x+=1; // x-1 x-=1; // x乘等于1 x*=1; // x 除等于 1 x/=1; // x 除 1 取余数 x%=1; } }
评论
站点统计|举报|Archiver|手机版|小黑屋|Comsenz Inc.
GMT+8, , Processed in 0.195171 second(s), 9 queries .
Powered by javakc! X1.0
© 2004-2014 javakc
f1208.com 备案号:京ICP备14030918号-1