nerdexam
GIAC

GSSP-.NET · Question #98

(Topic 1) Henry works as a Software Developer for SoftTech Inc. He creates a Windows form named control named ListBox1 that concatenates two strings displayed in two TextBox controls. Henry wants a…

The correct answer is A. A method with a string return type. See the full explanation below for the reasoning.

Question

  • (Topic 1)

Henry works as a Software Developer for SoftTech Inc. He creates a Windows form named control named ListBox1 that concatenates two strings displayed in two TextBox controls. Henry wants a method to return a value for the control. Which of the following options will he consider while creating a method for the control?

Options

  • AA method with a string return type.
  • BA void method that passes only one parameter.
  • CA method with an integer return type.
  • DA void method that passes more than one parameter.

How the community answered

(44 responses)
  • A
    70% (31)
  • B
    16% (7)
  • C
    9% (4)
  • D
    5% (2)

Community Discussion

No community discussion yet for this question.

Full GSSP-.NET Practice