nerdexam
Microsoft

98-372 · Question #51

98-372 Question #51: Real Exam Question with Answer & Explanation

Sign in or unlock 98-372 to reveal the answer and full explanation for question #51. The question stem and answer options stay visible for context.

Question

You are creating an application using .NET Framework 4.0. You use the following code segment in the application. (Line numbers are given for reference only.) 01 string string1 = "hello"; 02 string string2 = "h"; 03 string2 += "ello"; 04 Console.WriteLine(string1 == string2); 05 Console.WriteLine((object)string1 == (object)string2); What is the output of the above code segment?

Exhibit

98-372 question #51 exhibit

Options

  • ATrue
  • BFalse
  • CFalse
  • DTrue

Unlock 98-372 to see the answer

You've previewed enough free 98-372 questions. Unlock 98-372 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 98-372 Practice