About Question com.enthuware.jfcja.v8.2.319 :
Moderator: admin
-
- Posts: 4
- Joined: Tue Nov 23, 2021 4:36 pm
- Contact:
About Question com.enthuware.jfcja.v8.2.319 :
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?
-
- Site Admin
- Posts: 9804
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question com.enthuware.jfcja.v8.2.319 :
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.
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.
-
- Posts: 4
- Joined: Tue Nov 23, 2021 4:36 pm
- Contact:
Re: About Question com.enthuware.jfcja.v8.2.319 :
OK thank you!admin wrote: ↑Sun Dec 12, 2021 1:33 amNone 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.
-
- Posts: 1
- Joined: Sat May 14, 2022 11:44 am
- Contact:
Re: About Question com.enthuware.jfcja.v8.2.319 :
Can u explain the whole what is this all about I am a bit confused
-
- Site Admin
- Posts: 9804
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question com.enthuware.jfcja.v8.2.319 :
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 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.
Who is online
Users browsing this forum: No registered users and 1 guest