Last active
November 1, 2019 19:45
-
-
Save battlesteel/9c9b3b1bbb505d70774b3b948819dffe to your computer and use it in GitHub Desktop.
sout #Java
This file contains hidden or 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
class GetterSetter { | |
private String name; | |
public String getName() { | |
return this.name; | |
} | |
public void setName(String name) { | |
this.name = name; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment