Chapter Summary


The following topics were explained in this chapter:

  • operators in Java, including precedence and associativity rules

  • type conversions: casting, narrowing and widening: in addition, the unary and binary numeric promotions are stated, and the context under which they are applied discussed

  • defining and evaluating arithmetic and boolean expressions

  • assigning values and assigning references

  • object value equality and object reference equality

  • parameter passing, both primitive values and object references, including arrays and array elements: in addition, final parameters are also discussed

  • passing program arguments