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

Câu 12: Certified Platform Developer

Cloud Kicks Fitness, an ISV Salesforce partner, developing a managed package application. One of the application modules allows the user to calculate body fat using the Apex class, BodyFat, and its method, calculateBodyFat(). The product owner wants to ensure this method is accessible by the consumer of the applicatio…

Nội dung câu hỏi

Cloud Kicks Fitness, an ISV Salesforce partner, developing a managed package application. One of the application modules allows the user to calculate body fat using the Apex class, BodyFat, and its method, calculateBodyFat(). The product owner wants to ensure this method is accessible by the consumer of the application when developing customizations outside the ISV’s package namespace. Which approach should a developer take to ensure calculateBodyFat() is accessible outside the package namespace?

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. Declare the class as global and use the public access modifier on the method.
  2. B. Declare the class as public and use the global access modifier on the method.
  3. C. Declare the class and method using the global access modifier. — đáp án hiện tại
  4. D. Declare the class and method using the public access modifier.

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ề