QuestionQ7
Understanding PackagesThe opportunityService and opportunityServiceTest classes reside in package A but are used only by package B. Both second-generation packages share the same namespace. Therefore, the classes should be moved to package B for improved organization and control.
What should the architect recommend for this process?
- A Move the classes of package A to package B and change the code for package B that called this class from package A.
- B Set the classes as deprecated in package A and recreate them in package B with new names.
- C Move the classes of package A to package B and create new package versions.
- D Set the classes as deprecated in package A and recreate them in package B.
Community Discussion