Java

62
3416 reads

February 21, 2013

If-elseif


The program below demonstrates if-else if statements.

22
376 reads

February 21, 2013

Boolean Logical Operators


The program below demonstrates a boolean logical operator.

50
2559 reads

February 21, 2013

OperatorsBitwise


This example demonstrates some combinations of bitwise operations.

47
2489 reads

February 21, 2013

Unsigned Byte Shift


This example demonstrates unsigned shifting a byte value.

48
2520 reads

February 21, 2013

Masking Sign Extension


The program below demonstrates masking sign extension.

53
2556 reads

February 21, 2013

Left Shift Multiples of 2


The program below demonstrates left shifting as a quick way to multiply by 2.

57
2724 reads

February 21, 2013

Left Shifting


The program below demonstrates how to left shift a byte value.

52
2634 reads

February 21, 2013

Bitwise Operator


The program below demonstrates the bitwise logical operators.

58
2838 reads

February 21, 2013

Pre/Post Increment


The program below demonstrates how ++ and -- behaves.

43
2629 reads

February 21, 2013

Assignment Operator


The program below demonstrates assignment operators.