Public static void main (String [] args) {
Int k=2;
//k *=+ + k;
K=k * (+ + k);
System. The out. Println (k);
}
}
The running result is: 6.
Is to calculate the value of k "2", then the + + k value "3", then 2 * 3 get 6.
But () is not a higher priority, why not to calculate (a) + + k?
CodePudding user response:
no one,,