GIAC
GSSP-NET · Question #209
GSSP-NET Question #209: Real Exam Question with Answer & Explanation
Sign in or unlock GSSP-NET to reveal the answer and full explanation for question #209. The question stem and answer options stay visible for context.
Question
Smith works as a Software Developer for ABC Inc. He creates an application using Visual Studio .NET 2005. The application displays "Welcome to ABC" on the top-left corner of a form. He writes the following code: StringBuilder strbuild1 = new StringBuilder(20); strbuild1.Append("'Welcome"); strbuild1.Append(" "); strbuild1.Append("to"); strbuild1.Append(" "); strbuild1.Append("ABC'"); string str1 = strbuild1.ToString(); Console.WriteLine(str1); Console.ReadLine(); What is the main purpose of using StringBuilder object in the application?
Options
- ATo create dynamic or mutable strings.
- BTo concatenate two or more different set of strings or a set of Unicode characters.
- CTo convert a value of the StringBuilder object to the String object.
- DTo append a specified string to the end of the StringBuilder object.
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.