 CustomObject oj0 = new CustomObject(); oj0.setId(0000L);  CustomObject oj0 = new CustomObject(); oj0.setId(0000L);  System.out.println(oj0); //Prints CustomObject@0 System.out.println(oj0); //Prints CustomObject@0 