Lecture 9
6
What can main() see?
•HLine is meant to be a client class
–private fields
–public getters, setters, other methods as appropriate
•HLine has a static main method, for unit testing
•main in HLine   
–can’t refer to length field or paintOn method, since those belong only to HLine objects
–can instantiate an HLine object, and then send it a paintOn message
•