package sample; public class E { C c = new C(); C c2 = new C(); public void setC(C c) { System.out.println("this.c = "+this.c.toString() +"/ Argu c = "+ c.toString()); System.out.println("this.c = "+this.c.hashCode() +"/ Argu c = "+ c.hashCode()); this.c = c; } }