GIAC
GSSP-.NET · Question #485
GSSP-.NET Question #485: Real Exam Question with Answer & Explanation
Sign in or unlock GSSP-.NET to reveal the answer and full explanation for question #485. The question stem and answer options stay visible for context.
Question
- (Topic 4) You work as a Software Developer for ManSoft Inc. You create an application using Visual Studio .NET 2005. You write the following code snippet in the application: int amt = 50; String s = "John gave me " + amt + " dollars"; Console.WriteLine(s); What will be the output of the above code?
Options
- A"John gave me amt dollars"
- B"John gave me 50 dollars"
- CInteger variable cannot concatenate with the string
- DInvalid type cast exception
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.