多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

You are using the Microsoft Visual Studio 2005 IDE to examine the output of a method that returns a string.You assign the output of the method to a string variable named fName. You need to write a code segment that prints the following on a single line  The message: "Test Failed: ".The value of fName if the value of fName does not equal "John".You also need to ensure that the code segment simultaneously facilitates uninterrupted execution of the application.  Which code segment should you use?()

  • A、A
  • B、B
  • C、C
  • D、D
正确答案:B
答案解析:
进入题库查看解析

微信扫一扫手机做题