Big Halloween Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Salesforce Certified Platform Developer 1 Exam CRT-450 Question # 2 Topic 1 Discussion

Salesforce Certified Platform Developer 1 Exam CRT-450 Question # 2 Topic 1 Discussion

CRT-450 Exam Topic 1 Question 2 Discussion:
Question #: 2
Topic #: 1

Refer to the following Apex code:

apex

Copy

Integer x = 0;

do {

x++;

} while (x < 1);

System.debug(x);

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


A.

0


B.

2


C.

1


D.

3


Get Premium CRT-450 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.