what is the highest order precedence operators in java?
When two operators share a common operand, 4 in this case, the operator with the highest precedence is operated first. In Java, the precedence of * is higher than that of - . Hence, the multiplication is performed before subtraction, and the value of myInt will be 4.