Java Reference
In-Depth Information
5.
The output from
ShowBitsDemo
is shown here:
The ? Operator
One of Java's most fascinating operators is the
?
. The
?
operator is often used to replace
if-else
statements of this general form: