About Question enthuware.ocajp.i.v7.2.1224 :

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

Moderator: admin

Post Reply
edwcabmu
Posts: 1
Joined: Wed Nov 04, 2015 4:31 pm
Contact:

About Question enthuware.ocajp.i.v7.2.1224 :

Post by edwcabmu »

Sorry but i'm confused

++a increments and then uses the variable a++ uses and then increments the variable

Why during the iteration in if it is not first --J changing the value of j and then if do validation ?

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

Re: About Question enthuware.ocajp.i.v7.2.1224 :

Post by admin »

It is doing exactly that i.e. changing the value of j and then doing the comparison. j is 10 but the comparison is happening between 1 and 9. Please go through the explanation.
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 46 guests