CIW
1D0-437 · Question #98
Consider the following program code: if ("Apple" gt "Pear") { print("True "); } else { print("False "); } if ("Banana" le "Banana") { print("True "); } else { print("False "); } What is the result…
The correct answer is B. FalseTrue. See the full explanation below for the reasoning.
Question
Consider the following program code:
if ("Apple" gt "Pear") { print("True "); } else { print("False "); } if ("Banana" le "Banana") { print("True "); } else { print("False "); } What is the result of executing this program code?
Options
- AFalseFalse
- BFalseTrue
- CTrueFalse
- DTrueTrue
How the community answered
(21 responses)- A19% (4)
- B71% (15)
- C5% (1)
- D5% (1)
Community Discussion
No community discussion yet for this question.