Skip to content

Instantly share code, notes, and snippets.

@dassiorleando
Created April 3, 2018 10:32
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 dassiorleando/59dcbaefc6f34f4a1e9e537728d4cb4d to your computer and use it in GitHub Desktop.
Save dassiorleando/59dcbaefc6f34f4a1e9e537728d4cb4d to your computer and use it in GitHub Desktop.
ObjectB objectB = new ObjectB("Fake propB");
ObjectA objectA = new ObjectA("Fake propA", objectB);
System.out.println(Objects.toString(objectA));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment