nerdexam
IBM

C2140-842 · Question #18

Given the following manual verification point vpManual ("manual1", "The rain in Spain", "The Rain in Spain").performTest(); What are the results?

The correct answer is B. The two strings are different, and a fail would be generated in the log. See the full explanation below for the reasoning.

Question

Given the following manual verification point vpManual ("manual1", "The rain in Spain", "The Rain in Spain").performTest(); What are the results?

Options

  • AThe two strings are the same, and a pass would be generated in the log
  • BThe two strings are different, and a fail would be generated in the log
  • CThe syntax is incorrect, so this would not compile
  • DThis will compile but the parameters are mixed up, and a fail would be recorded in the log.The

How the community answered

(33 responses)
  • A
    6% (2)
  • B
    70% (23)
  • C
    9% (3)
  • D
    15% (5)

Community Discussion

No community discussion yet for this question.

Full C2140-842 Practice