Exam CRT-450 Topic 2 Question 131 Discussion

Actual exam question for Salesforce's CRT-450 exam
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'; }

Suggested Answer: A Vote an answer

by Marina at May 24, 2024, 01:04 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

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.

0
0
0
10