JAVA Session02
JAVA Session02
Objectives
Class types are used for more complex types, including all
the types that you declare yourself.
They are used to create objects.
The operator << performs a left shift. The result of this shift
is that the first operand is multiplied by 2 raised to the
number specified by the second operand.
For Example:
128 << 1 returns 128 * 21 = 256
16 << 2 returns 16 * 22 = 64