Created
March 19, 2017 17:32
-
-
Save kinathru/8fb299e152453568aec02619a50a386c to your computer and use it in GitHub Desktop.
sample person class
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 com.dummys.learning; | |
public class Person | |
{ | |
private long id; | |
private String name; | |
public long getId() | |
{ | |
return id; | |
} | |
public void setId( long id ) | |
{ | |
this.id = id; | |
} | |
public String getName() | |
{ | |
return 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