
Salesforce Daily Quiz
Authored by Sayani Maity
Computers
Professional Development
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
24 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
1 min • 1 pt
What is the purpose of the “public” and “private” access modifiers in Apex?
(Choose any two answers)
“public” means that the variable or method can be accessed from outside the class.
private” means that the variable or method can only be accessed within the class itself.
“public” means that the variable or method can be only be accessed within the class itself.
“private” means that the variable or method can be accessed from outside the class.
“public” means that the variable or method can be accessed from both outside and inside the class.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
a...b...c...d
abcd...
...abcd
throws compile error
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which directive can be used to spread properties to a child component in LWC?
lwc : dom
lwc :slot-data
lwc : spread
lwc : slot-bind
Answer explanation
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be output?
object is User
throws System.Sobject
Exception
object is Case
throws System.String
Exception
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output?
Value1
Value2
undefined
null
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following Apex annotation is used to provide information to third party tools?
@NamespaceAccessible
@SuppressWarnings
@InvocableMethod
@RemoteAction
Answer explanation
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following configuration variable can be used with the 'sfdx config:set'
CLI command to set default dev hub?
defaultdevhubusername
defaultdevhub
defaultusername
target-dev-hub
None of this
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?