Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam CRT-450 All Questions
Exam CRT-450 All Questions

View all questions & answers for the CRT-450 exam

Salesforce Developers CRT-450 Question # 32 Topic 4 Discussion

CRT-450 Exam Topic 4 Question 32 Discussion:
Question #: 32
Topic #: 4

A developer created this Apex trigger that calls MyClass.mystaticMethod:

The developer creates a test class with a test method that calls MyClass.myStaticMethod directly, resulting in 81% overall code coverage What happens when the developer tries to deploy the trigger and two classes to production, assuming no other code exists?


A.

The deployment passes because both classes and the trigger were included in the deployment.


B.

The deployment fails because no assertions were made in the test method.


C.

The deployment passes because the Apex code has the required >75% code coverage.


D.

The deployment fails because the Apex trigger has no code coverage.


Get Premium CRT-450 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.