JMU
The Assignment Operator
An Introduction with Examples in Java


Prof. David Bernstein
James Madison University

Computer Science Department
bernstdh@jmu.edu


Review
Review (cont.)
Assignment
Assignment in Java
Assignment in Java (cont.)
Assignment in Java (cont.)
A Practice to Avoid
An Interesting Issue
Type Checking During Assignment
Type Checking During Assignment (cont.)
The final Modifier in Java
The final Modifier in Java (cont.)
Assignment of Primitive and Reference Types