Exam CRT-450 Topic 2 Question 131 Discussion
Actual exam question for Salesforce's CRT-450 exam
Question #: 131
Topic #: 2
Question #: 131
Topic #: 2
What is the value of x after the code segment executes?String x = 'A';Integer i = 10;if ( i < 15 ) {i = 15;x
'B';} else if ( i < 20 ) {x = 'C';} else {x = 'D'; }
'B';} else if ( i < 20 ) {x = 'C';} else {x = 'D'; }
Suggested Answer: A Vote an answer
by Marina at May 24, 2024, 01:04 PM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).