Post

Puneet Sapaliga പുനീത് സപലിഗ
@EclipseJavaIDE b1=true(t), b2=false(f) Parsing the if stmt from left to right: The operation in 1st () - b1=f ......R1 2nd () - b1^b2 =f XOR f = f......R2 now R1 | R2 = f|f = f The if condtn is evaluated to false. if block is skipped. Next stmt is printed Result: Bye
English
0
0
2
0
Edwin Torres
Edwin Torres@realEdwinTorres·
@EclipseJavaIDE Reminds me of this brainteaser: Can you swap two integer variables without using a temporary variable? Hint: ^
English
1
0
0
0
Paylaş