Câu 64: 70-483: MCSD Programming in C
You are developing an application that includes the following code segment. (Line numbers are included for reference only.) You need to ensure that the DoWork(Widget widget) method runs. With which code segment should you replace line 24?
Nội dung câu hỏi
You are developing an application that includes the following code segment. (Line numbers are included for reference only.) You need to ensure that the DoWork(Widget widget) method runs. With which code segment should you replace line 24?
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. DoWork((Widget)o); — đáp án hiện tại
- B. DoWork(new Widget(o));
- C. DoWork(o is Widget);
- D. DoWork((ItemBase)o);
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.