|
|
|
|
What comes first ++ or +?Arithmetic precedenceWhat is happening in the code below?
public static void main(String[] args) {
int a2 = 3;
int b2 = 4;
int result = a2+++b2;
System.out.println("result "+ result );
System.out.println("a2 "+ a2); System.out.println("result "+ result );
}
>
Top |