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

Câu 15: PCAP: Certified Associate in Python Programming

The following class definition is given. We want the show () method to invoke the get () method, and then output the value the get () method returns. Which of the invocations should be used instead of XXX?

Nội dung câu hỏi

The following class definition is given. We want the show () method to invoke the get () method, and then output the value the get () method returns. Which of the invocations should be used instead of XXX?

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. print (get(self))
  2. B. print (self.get()) — đáp án hiện tại
  3. C. print (get())
  4. D. print (self.get (val))

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ề