CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 22: PCPP-32-101: Certified Professional in Python Programming 1

Analyze the following snippet and decide whether the code is correct and/or which method should be distinguished as a class method.

Nội dung câu hỏi

Analyze the following snippet and decide whether the code is correct and/or which method should be distinguished as a class method.

Minh họa câu hỏi

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.

  1. A. There is only one initializer, so there is no need for a class method
  2. B. The getNumberOfCrosswords() method Should be decorated with @classmethod — đáp án hiện tại
  3. C. The code is erroneous
  4. D. The getNumberOfCrosswords() and isSolved methods should be decorated with @classmethod

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.

Câu hỏi liền kề