Skip to content

Instantly share code, notes, and snippets.

@soudmaijer
Created April 6, 2021 13:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save soudmaijer/7f54a7b2814731b2ae57cf4753c071a6 to your computer and use it in GitHub Desktop.
Save soudmaijer/7f54a7b2814731b2ae57cf4753c071a6 to your computer and use it in GitHub Desktop.
public class Person {
private final String name;
private final int age;
public Person(String name, int age) {
this.name = name;
this.age = age;
}
public String getName() {
return name;
}
public int getAge() {
return age;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment