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

Câu 122: Salesforce Certified Platform Developer I

Given the code below, what can be done so that recordCount can be accessed by a test class, but not by a non-test class?

Nội dung câu hỏi

Given the code below, what can be done so that recordCount can be accessed by a test class, but not by a non-test class?

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. Change recordCount from private to public.
  2. B. Add the SeeAllData annotation to the test class.
  3. C. Add the TestVisible annotation to recordCount. — đáp án hiện tại
  4. D. Add the TestVisible annotation to the MyController class.

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ề