About Question enthuware.ocpjp.v8.2.1090 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
lepi_dasa
Posts: 4
Joined: Wed Feb 17, 2016 3:03 am
Contact:

About Question enthuware.ocpjp.v8.2.1090 :

Post by lepi_dasa »

This is WRONG.

You are saying that options 2 and 3 are VALID but option 1 is VALID as well!

Option 1:

DataOutputStream dos = new DataOutputStream(os);
dos.write(1);
A file of size 4 bytes will be created.

No! A file of size 1 byte will be created!

I am aware that you are going to change you question/answer now and that my response (after you fix your quersion/answer) will look stupid :)

admin
Site Admin
Posts: 10053
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v8.2.1090 :

Post by admin »

lepi_dasa wrote:This is WRONG.

You are saying that options 2 and 3 are VALID but option 1 is VALID as well!

Option 1:

DataOutputStream dos = new DataOutputStream(os);
dos.write(1);
A file of size 4 bytes will be created.

No! A file of size 1 byte will be created!
Of course a file of size 1 byte will be created. The detailed explanation provided with the option says the same thing. That is why this option is wrong. This option says a file of size 4 bytes will be created. Why do you think it is correct?
lepi_dasa wrote: I am aware that you are going to change you question/answer now and that my response (after you fix your quersion/answer) will look stupid :)
Let me assure you that we don't do such things. If a user reports a mistake in our material we acknowledge it and fix it as soon as possible and release an update so that other users will get to see the corrected material.

thank you,
Paul.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: gadsgadsx and 51 guests