Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kepocnhh/68be4d652b2ac56de4fe4b5186604aaf to your computer and use it in GitHub Desktop.
Save kepocnhh/68be4d652b2ac56de4fe4b5186604aaf to your computer and use it in GitHub Desktop.
UglyClass ugly = new UglyClass();
ugly.setDate(new Date());
Date date = ugly.getDate();
UglyClass ugly = new UglyClass();
ugly.date = new Date();
Date date = ugly.date;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment