Topics
Operators
- Unary, binary and ternary forms
- Arithmetic, relational, logical and assignment operators
- Increment, decrement and shorthand operators
- Prefix and postfix forms, counters and accumulators
- Precedence and associativity
- new and dot operators
- print and println output
Learning objectives
- Evaluate a Java expression using precedence and associativity.
Labs for this chapter are on the way
We are building worlds, labs and stories for Operators in Java. Meanwhile, practise its questions or explore the rest of Computing & AI.