nerdexam
GIAC

GSSP-NET · Question #486

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

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

Question

George works as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2005 as its application development platform. George creates an application using the .NET Framework. He writes the following code snippet in the application: GIAC GSSP-.NET Exam public class FirstClass { public static int test=500; } public class SecondClass : FirstClass { public static void Main(String[] args) { SecondClass mb=new SecondClass(); mb.MyMethod(); } public void MyMethod() { //Appropriate statement } } George wants to modify the value of the test variable in MyMethod to 1000. Which of the following code segments will he place in MyMethod to accomplish this task? Each correct answer represents a complete solution. Choose all that apply.

Options

  • Abase.test=1000;
  • Btest=1000;
  • CFirstClass.test=1000;
  • Dtest=1000.00;

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