What is the value of x when it is written to the debug log?

Refer to the following Apex code:

Integer x=0;

do

x=1;

x++;

} while (x< 1);

System.debug (x);

What is the value of x when it is written to the debug log?
A . 0
B . 1
C . 2
D . 3

Answer: C

Latest DEX-450 Dumps Valid Version with 456 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments