Lecture 7
15
Boxes and Arrows
•  HLine h0 = new HLine(3,‘x’);
•  HLine h1;
•
• 
h0:
h1:
null
HLine
paintChar:
3
‘x’
length:
int
char
HLine
HLine
•Value of h0 is a reference to (arrow to) an HLine object (which wouldn’t fit into the h0 box in any case)
•Value of h1 is null (reserved word but not a keyword)
•