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

Get Programmer's Guide to Java™ Certification, A: A Comprehensive Primer, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.