Skip to content

Instantly share code, notes, and snippets.

@eliasnogueira
Created November 2, 2021 07:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eliasnogueira/197e488a46b184443901e54a21e0691b to your computer and use it in GitHub Desktop.
Save eliasnogueira/197e488a46b184443901e54a21e0691b to your computer and use it in GitHub Desktop.
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