Page 1 of 1

About Question enthuware.ocpjp.v7.2.1488 :

Posted: Wed Nov 18, 2015 10:19 am
by abhimita
Would you please explain me the flow of the program? How is it that Booby is printed twice and Dooby n Tobby once. I understand that if class has not implemented Serializable interface, constructor of that class is called else not. But this m not able to follow.

Re: About Question enthuware.ocpjp.v7.2.1488 :

Posted: Sun Nov 22, 2015 9:47 am
by admin
Booby is printed the first time when an object of class Tooby is constructed (i.e. when you do new Tooby() ).
It is printed the second time when you deserialize the tooby object. Since Dooby implements Serializable and since Tooby extends Dooby, Tooby also indirectly implements Serializable. Therefore, constructors of Dooby and Tooby are not invoked during deserialization.

HTH,
Paul.

Re: About Question enthuware.ocpjp.v7.2.1488 :

Posted: Sun Aug 26, 2018 11:02 am
by Rick84
I'm unable to drag the words Booby, Dooby and Tooby, and when I click 'show correct answer', all fields are made blank. I'm using question bank version 1/72 which ETS says is the latest version.

Re: About Question enthuware.ocpjp.v7.2.1488 :

Posted: Sun Aug 26, 2018 8:08 pm
by admin
Please download the latest version of the question bank file 1/73. That should fix the issue.

HTH,
Paul.

Re: About Question enthuware.ocpjp.v7.2.1488 :

Posted: Mon Aug 27, 2018 5:34 am
by Rick84
Yes, fixed! Ty!