About Question enthuware.ocpjp.v7.2.1488 :
Moderators: Site Manager, fjwalraven
-
- Posts: 5
- Joined: Sun Jun 21, 2015 12:54 am
- Contact:
About Question enthuware.ocpjp.v7.2.1488 :
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.
-
- Site Admin
- Posts: 10065
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1488 :
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.
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.
If you like our products and services, please help us by posting your review here.
-
- Posts: 12
- Joined: Tue Mar 06, 2018 9:54 am
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1488 :
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.
-
- Site Admin
- Posts: 10065
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1488 :
Please download the latest version of the question bank file 1/73. That should fix the issue.
HTH,
Paul.
HTH,
Paul.
If you like our products and services, please help us by posting your review here.
-
- Posts: 12
- Joined: Tue Mar 06, 2018 9:54 am
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1488 :
Yes, fixed! Ty!
Who is online
Users browsing this forum: No registered users and 79 guests