APEX SESSIONS QUIZ 5

APEX SESSIONS QUIZ 5

1st Grade

15 Qs

quiz-placeholder

Similar activities

TOSCA ONBOARDING WEEK 1

TOSCA ONBOARDING WEEK 1

KG - Professional Development

12 Qs

Tally_Quiz_6_April_2020

Tally_Quiz_6_April_2020

1st - 3rd Grade

15 Qs

Air Export Quiz

Air Export Quiz

KG - Professional Development

17 Qs

DBMS Quiz 1

DBMS Quiz 1

1st - 10th Grade

10 Qs

ID&V Procedure Quiz part 2

ID&V Procedure Quiz part 2

1st - 2nd Grade

15 Qs

Python-basics

Python-basics

1st - 4th Grade

14 Qs

Android Studio 2

Android Studio 2

1st Grade - Professional Development

15 Qs

Google Forms

Google Forms

KG - University

10 Qs

APEX SESSIONS QUIZ 5

APEX SESSIONS QUIZ 5

Assessment

Quiz

Professional Development

1st Grade

Medium

Created by

M Salman

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?