Câu 3: PCPP-32-101: Certified Professional in Python Programming 1
Which sentence about the @property decorator is false?
Nội dung câu hỏi
Which sentence about the @property decorator is false?
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. The @property decorator should be defined after the method that is responsible for setting an encapsulated attribute. — đáp án hiện tại
- B. The @property decorator designates a method which is responsible for returning an attribute value.
- C. The @property decorator marks the method whose name will be used as the name of the instance attribute.
- D. The @property decorator should be defined before the methods that are responsible for setting and deleting an encapsulated attribute.
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.