About Question com.enthuware.jfcja.v8.2.319 :

Oracle Certified Foundations Associate Java Certification Questions and Discussion
1Z0-811

Moderator: admin

Post Reply
willer.morais
Posts: 4
Joined: Tue Nov 23, 2021 4:36 pm
Contact:

About Question com.enthuware.jfcja.v8.2.319 :

Post by willer.morais »

In this case it would not print, in addition to the 9 8 7 6 5 4 3 2 1, 0 -1 ... -2147483648 ? So the answer should be 2147483648 + 10 or None of these?

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

Re: About Question com.enthuware.jfcja.v8.2.319 :

Post by admin »

None of these just means that none of the other given options are correct. But yes, if 2147483648 + 10 were an option, then that would be correct.
In the exam, you will not be expected to know exact values of such large numbers, so, such an option would be highly unlikely to appear in the exam.
You just need to understand that it will not be 10 and why.
If you like our products and services, please help us by posting your review here.

willer.morais
Posts: 4
Joined: Tue Nov 23, 2021 4:36 pm
Contact:

Re: About Question com.enthuware.jfcja.v8.2.319 :

Post by willer.morais »

admin wrote:
Sun Dec 12, 2021 1:33 am
None of these just means that none of the other given options are correct. But yes, if 2147483648 + 10 were an option, then that would be correct.
In the exam, you will not be expected to know exact values of such large numbers, so, such an option would be highly unlikely to appear in the exam.
You just need to understand that it will not be 10 and why.
OK thank you!

chiragniyogi
Posts: 1
Joined: Sat May 14, 2022 11:44 am
Contact:

Re: About Question com.enthuware.jfcja.v8.2.319 :

Post by chiragniyogi »

Can u explain the whole what is this all about I am a bit confused

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

Re: About Question com.enthuware.jfcja.v8.2.319 :

Post by admin »

Can you specify which part are you confused about so that we can provide more explanation? Because without any clue as to what you don't understand, it is difficult to explain. Basically, it just a do-while loop that is decrementing and printing the variable x. But an int variable has only 4 bytes to store the number so there is a max value and a min value. If a number is beyond those two numbers then that number cannot be stored. It will simply be mapped to some number between min and max.

If you are not sure about this, you will need to read a bit about how integers are stored in an int variable.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest