Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
public class User {
private String name;
private String job;
public User(String name, String job) {
this.name = name;
this.job = job
}
public String getName() {
return name;
}
public void setName(String name) {
this.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