A class is a template or blueprint from which objects are created.

APEX SESSIONS QUIZ 5

Quiz
•
Professional Development
•
1st Grade
•
Medium
M Salman
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True
False
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In processing records (inserting or updating). if you want any error that occurs during bulk processing to be thrown as an Apex exception. Then You must use ?
DML
Database class methods
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
There is list of 100 records. This is to be inserted into the system. In some of the records there is an error those cannot be inserted. How will you allow the partial Insertion to be done.
Using DML
Database.insert(listName,false)
insert listName;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A constructor is code that is invoked when an object is created from the class
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Constructor cannot have a return type.
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This access modifier is the default, and means that the method or variable is accessible only within the Apex class in which it’s defined. If you don’t specify an access modifier, the method or variable is .......?
public
private
protected
global
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the output of the following code.
String myString = 'abcd';
Integer result = myString.length();
System.debug(result);
4
error
3
abcd
Create a free account and access millions of resources
Similar Resources on Quizizz
14 questions
WIDA- Clinical 1

Quiz
•
1st - 5th Grade
10 questions
HTML-1

Quiz
•
KG - 3rd Grade
15 questions
Django #1 (basic)

Quiz
•
1st Grade - Professio...
12 questions
dsp quiz week 1

Quiz
•
1st Grade
16 questions
Google Classroom

Quiz
•
KG - 12th Grade
10 questions
Power of Our Words: Open-Ended Questions

Quiz
•
KG - University
20 questions
SON User Training Day1 Exam 1

Quiz
•
1st - 5th Grade
10 questions
Android Java Programming - Q2

Quiz
•
1st Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade