Skip to content

Instantly share code, notes, and snippets.

@activestudy
Created February 20, 2016 11:15
Show Gist options
  • Save activestudy/5529147b16583fd6c0b6 to your computer and use it in GitHub Desktop.
Save activestudy/5529147b16583fd6c0b6 to your computer and use it in GitHub Desktop.
/**
*
* @author NguyenHaiDang@ActiveStudy
*/
public class Person {
private int age;
private String name;
public Person() {
}
public Person(int age, String name) {
this.age = age;
this.name = name;
}
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
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