nerdexam
GIAC

GSSP-NET · Question #450

You work as a Windows Application Developer for ABC Inc. The company uses Visual GIAC GSSP-.NET Exam Studio .NET 2008 as its application development platform. You create a Windows Forms application…

The correct answer is B. public void doWork(Object oCount). See the full explanation below for the reasoning.

Question

You work as a Windows Application Developer for ABC Inc. The company uses Visual GIAC GSSP-.NET Exam Studio .NET 2008 as its application development platform. You create a Windows Forms application using .NET Framework 3.5. The application needs a thread that accepts an integer parameter. You write the following code segment in the application:

Thread myThread = new Thread(new ParameterizedThreadStart(doWork)); myThread.Start(125); You are required to declare the signature of the doWork method. Which of the following method signatures will you use?

Options

  • Apublic void doWork(int nCount)
  • Bpublic void doWork(Object oCount)
  • Cpublic void doWork()
  • Dpublic void doWork(Delegate oCount)

How the community answered

(35 responses)
  • A
    3% (1)
  • B
    80% (28)
  • C
    11% (4)
  • D
    6% (2)

Community Discussion

No community discussion yet for this question.

Full GSSP-NET Practice