Created
November 2, 2021 07:33
-
-
Save eliasnogueira/197e488a46b184443901e54a21e0691b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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