nerdexam
GIAC

GSSP-NET · Question #385

GSSP-NET Question #385: Real Exam Question with Answer & Explanation

Sign in or unlock GSSP-NET to reveal the answer and full explanation for question #385. The question stem and answer options stay visible for context.

Question

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2005 as its application development platform. You are creating an application using .NET Framework 2.0. You are using the StringBuilder class to string values. You want to create a StringBuilder object that can store 75 characters and should be initialized with "ABC". You also want to append a formatted string to the end of the StringBuilder object. Which of the following code segments will you use to accomplish the task? Each correct answer represents a complete solution. Choose all that apply.

Options

  • AStringBuilder MyStrBuild = new StringBuilder(75);
  • BStringBuilder MyStrBuild = new StringBuilder("ABC", 75); MyStrBuild.Append("INDIAUS");
  • CStringBuilder MyStrBuild = new StringBuilder("ABC");
  • DStringBuilder MyStrBuild = new StringBuilder("ABC", 75);

Unlock GSSP-NET to see the answer

You've previewed enough free GSSP-NET questions. Unlock GSSP-NET 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 GSSP-NET Practice