…
package xxx;
public class fzys {
/**
* @param args
* 赋值运算:=(赋值),+=,-+,*=,/=,%= */
public static void main(String[] args) {
// TODO 自动生成的方法存根
int num1;
num1=10;
System.out.println(num1);
int num2=22;
num2+=num1;
System.out.println(num2);
num2-=num1;
System.out.println(num2);
num2*=num1;
System.out.println(num2);
num2/=num1;
System.out.println(num2);
num2%=num1;
System.out.println(num2);
}
}
…