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)- A79% (33)
- B7% (3)
- C2% (1)
- D12% (5)
Community Discussion
No community discussion yet for this question.