Home Segments Index Top Previous Next

217: Mainline

A method whose primary purpose is to get at instance variables is called a getter or reader. In this book, the word getter is used because many programmers use the word reader to refer to methods that read information from files.