Created
September 23, 2016 13:15
-
-
Save yami12376/687d485e8e8a551be0b812574d232bd2 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
package hello; | |
public class Greeting { | |
private final long id; | |
private final String content; | |
public Greeting(long id, String content) { | |
this.id = id; | |
this.content = content; | |
} | |
public long getId() { | |
return id; | |
} | |
public String getContent() { | |
return content; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment