Lecture 7
13
•
Draw a picture of a
variable
- box with narrow
border, showing name and type
•
•
•
If type is primitive, show value inside box
•
•
–
•
If type is a class then value is a reference to an
object ...
Boxes and Arrows
name:
type
accountNumber:
int
2