Câu 67: 70-483: MCSD Programming in C
You are modifying an existing application that manages employee payroll. The application includes a class named PayrollProcessor. The PayrollProcessor class connects to a payroll database and processes batches of paychecks once a week. You need to ensure that the PayrollProcessor class supports iteration and releases…
Nội dung câu hỏi
You are modifying an existing application that manages employee payroll. The application includes a class named PayrollProcessor. The PayrollProcessor class connects to a payroll database and processes batches of paychecks once a week. You need to ensure that the PayrollProcessor class supports iteration and releases database connections after the batch processing completes. Which two interfaces should you implement? (Each correct answer presents part of the complete solution. Choose two.)
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. IEquatable
- B. IEnumerable — đáp án hiện tại
- C. IDisposable — đáp án hiện tại
- D. IComparable
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.