nerdexam
Microsoft

98-361 · Question #357

You are writing code for a class named Book. You should be able to get a list of all books sorted by the author's last name. You need to write code to define this behavior of a class. Which of the…

The correct answer is A. method. See the full explanation below for the reasoning.

Question

You are writing code for a class named Book. You should be able to get a list of all books sorted by the author's last name. You need to write code to define this behavior of a class. Which of the following class elements should you use?

Options

  • Amethod
  • Bproperty
  • Cevent
  • Ddelegate

How the community answered

(42 responses)
  • A
    79% (33)
  • B
    7% (3)
  • C
    2% (1)
  • D
    12% (5)

Community Discussion

No community discussion yet for this question.

Full 98-361 Practice