|
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| • |
You
will find much of the syntax similar to
|
|
|
C++
|
|
|
|
– |
(primitive
types, compound blocks, loops (all), built-in
|
|
operators
(most), switch, if-else),
|
|
|
|
– |
static
data members,
|
|
|
|
– |
casting
for primitive types,
|
|
|
|
– |
scope
of your loop control variables in a for,
|
|
|
|
– |
allowing
definitions of a variable to occur where you
|
|
|
need
them,
|
|
|
|
– |
use
of the ++ and – operators,
|
|
|
|
– |
Break
and continue
|
|
|
|