Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
public class User {
private String name;
private String job;
public User(String name, String job) { = name;
this.job = job
public String getName() {
return name;
public void setName(String name) { = name;
public String getJob() {
return job;
public void setJob(String job) {
this.job = job;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment