nerdexam
GIAC

GSSP-NET · Question #231

You work as a Software Developer for ABC Inc. The Company uses the .NET Framework as its application development platform. You have created a class to represent a stop light. The stop light can be…

The correct answer is C. Enumeration. See the full explanation below for the reasoning.

Question

You work as a Software Developer for ABC Inc. The Company uses the .NET Framework as its application development platform. You have created a class to represent a stop light. The stop light can be red, green, or blue. Which of the following elements would you use to simplify how developers defined the value?

Options

  • AStructure
  • BDelegate
  • CEnumeration
  • DInterface

How the community answered

(26 responses)
  • A
    4% (1)
  • B
    4% (1)
  • C
    85% (22)
  • D
    8% (2)

Community Discussion

No community discussion yet for this question.

Full GSSP-NET Practice