Skip to content

Instantly share code, notes, and snippets.

@tylertreat
Created December 31, 2014 21:38
Show Gist options
  • Save tylertreat/484d7ae84dffed08ca81 to your computer and use it in GitHub Desktop.
Save tylertreat/484d7ae84dffed08ca81 to your computer and use it in GitHub Desktop.
bill.getDepartment().setName("Bill's Department");
String dept = frank.getDepartment().getName(); // Should yield "Bill's Department" but doesn't
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment