Exit PDI Salesforce Certification for Platform Developer I (Plat-Dev-201)
Question 1 of 5
0% complete
Q1 Single choice

Cloud Kicks Fitness, an ISV Salesforce partner, is developing a managed package application.

One application module allows users to calculate body fat using the Apex class Bodyfat and its method calculateBodyFat().

The product owner wants to ensure this method is accessible to consumers of the application when developing customizations outside the ISV package namespace.

Which approach should a developer take to ensure calculateBodyFat() is accessible outside the package namespace?

  • A

    Declare the class and method using the global access modifier.

  • B

    Declare the class and method using the public access modifier.

  • C

    Declare the class as public and use the global access modifier on the method.

  • D

    Declare the class as global and use the public access modifier on the method.

Previous Next