Java Reference
In-Depth Information
TOPIC
CONCEPT
Casting
You can convert a value of one type to another by using an explicit cast. A cast is automatically supplied
where necessary for op= assignment operations. You cannot cast to or from values of type boolean .
Order of op-
erations
The order of execution of operators in an expression is determined by their precedence. Where operators
are of equal precedence, the order of execution is determined by their associativity.
Enumeration
types
You use an enumeration type to define variables that can only be assigned values from a fixed set that you
specified as part of the enumeration. An enumeration type cannot be defined within a method.
Search WWH ::




Custom Search