Game Development Reference
In-Depth Information
Bitwise and Bit Shift Operators
~
Unary bitwise complement
<<
Signed left shift
>>
Signed right shift
>>>
Unsigned right shift
&
Bitwise AND
^
Bitwise exclusive OR
|
Bitwise inclusive OR
Java Flow Control Statements
if then statement
if (expression)
{
// execute statements here if expression evaluates to true
}
if then else statement
if (expression)
{
// execute statements here if expression evaluates to true
}
else
{
// execute statements here if expression evaluates to false
}
switch statement
switch(expression)
{
case label1:
// Statements to execute if expression evaluates to
// label1:
break;
case label2:
// Statements to execute if expression evaluates to
// label2:
break;
}
 
Search WWH ::




Custom Search