Skip to content

Instantly share code, notes, and snippets.

@jtcressy
Created December 17, 2016 17:13
Show Gist options
  • Save jtcressy/b2a81e3b4addd5d0ceff9e3a01975812 to your computer and use it in GitHub Desktop.
Save jtcressy/b2a81e3b4addd5d0ceff9e3a01975812 to your computer and use it in GitHub Desktop.
public class Child {
public String name;
public boolean isSleeping;
public boolean isNice;
public Child() {
name = "None";
isSleeping = false;
isNice = true;
}
public Child(String startName, boolean startSleeping, boolean startNice){
name = startName;
isSleeping = startSleeping;
isNice = startNice;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment