Câu 34: 70-483: MCSD Programming in C
DRAG DROP -You are developing an application that includes a class named Warehouse. The Warehouse class includes a static property named Inventory- The Warehouse class is defined by the following code segment. (Line numbers are included for reference only.) You have the following requirements: ✑ Initialize the _invent…
Nội dung câu hỏi
DRAG DROP -You are developing an application that includes a class named Warehouse. The Warehouse class includes a static property named Inventory- The Warehouse class is defined by the following code segment. (Line numbers are included for reference only.) You have the following requirements: ✑ Initialize the _inventory field to an Inventory instance. ✑ Initialize the _inventory field only once. ✑ Ensure that the application code acquires a lock only when the _inventory object must be instantiated. You need to meet the requirements. Which three code segments should you insert in sequence at line 09? (To answer, move the appropriate code segments from the list of code segments to the answer area and arrange them in the correct order.)Select and Place:
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. Lựa chọn A bằng hình ảnh — đáp án hiện tại
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.