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.