
Apex Sessions 8 Quiz
Authored by M Salman
Professional Development
1st Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To define a future method. Add the correct annotation from the following.
public static void myFutureMethod() {
// Perform some operations
}
@isFuture
@future
@@Future
@Future()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Methods with the future annotation can’t take sObjects or objects as arguments.
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Performing DML on both Setup Objects & Non-Setup objects in single transaction will throw which exception?
Mixed DML Exception
NullPointer Exception
Incorrect Signature Exception
NoneofThem
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apex unit testing makes sure that your Apex code is of high quality and meets the requirements in deploying Apex.
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To deploy apex class to the Production Environment. The Apex class must have at least how much test coverage?
10%
20%
100%
75%
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A future method runs in the background, asynchronously.
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Inside one Future method, we can call another future method as well.
True
False
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?