Lecture 6
15
Declarations
•Tell java compiler what’s coming
– where you get to make up names (identifiers)
– just prepare for action - don’t do anything
•classes (line 18, whole file)
•fields (instance variables) (lines 22-25)
•constructor  (line 37)
•methods (51, 63, 74, 85, 97, 110, 117, 132, 158)
•local variables (lines 99, 160, 161)
•parameters for methods (lines 51, 74, 85)
•