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’; }
A . D
B . A
C . B
D . C
Answer: C
Latest DEX-450 Dumps Valid Version with 456 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund