6
.
Explain the difference between the prefix and postfix forms of the increment operator.
7
.
Show how a short-circuit AND can be used to prevent a divide-by-zero error.
8
.
In an expression, what type are
byte
and
short
promoted to?
9
.
In general, when is a cast needed?
10
.
Write a program that finds all of the prime numbers between 2 and 100.
11
.
Does the use of redundant parentheses affect program performance?
12
.
Does a block define a scope?