A method whose primary purpose is to assign instance variables is called a writer or setter. In this book, the word setter is used because many programmers use the word writer to refer to methods that write information into files.