eclipse getter setter9 code example Example: eclipse create getter and setter Press: "Alt + Shift + S" Then choose: "Generate Getter and Setter"