Created
July 30, 2020 11:48
-
-
Save eliasnogueira/d633e11ef18329144dbf4db986b3eef3 to your computer and use it in GitHub Desktop.
Blog post about Data Management - Person code snippet
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 Person { | |
private String name; | |
private int age; | |
public Person(String name, int age) { | |
this.name = name; | |
this.age = age; | |
} | |
public String getName() { return name; } | |
public void setName(String name) { this.name = name; } | |
public int getAge() { return age; } | |
public void setAge(int age) { this.age = age; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment