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