nerdexam
GIAC

GSSP-NET · Question #449

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

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

Question

You work as an Enterprise Application Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You create a Windows client application that communicates with a business layer component using the .NET Framework. The business layer component includes a class named MyUtility as follows: public class MyUtility { public MyUtility() { } public void ChangeData() { } } The application must fulfill the following criteriA. Create instances of the MyUtility class only within the business component. The application should invoke the functions within the MyUtility class. You evaluate the code of the MyUtility class and decide it requires modification. Which of the following modifications for the code will you recommend?

Options

  • AChange the scope of the MyUtility class to private.
  • BChange the scope of the constructor to private.
  • CChange the scope of the constructor to internal.
  • DChange the scope of the MyUtility class to internal.

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