APEX SESSIONS QUIZ 5

APEX SESSIONS QUIZ 5

1st Grade

15 Qs

quiz-placeholder

Similar activities

Google!

Google!

KG - University

15 Qs

DBMS Quiz 1

DBMS Quiz 1

1st - 10th Grade

10 Qs

Android Studio 2

Android Studio 2

1st Grade - Professional Development

15 Qs

InEvent Quiz 3rd January 2023

InEvent Quiz 3rd January 2023

1st - 5th Grade

10 Qs

Unit 114: Routers (No.4)

Unit 114: Routers (No.4)

1st Grade

12 Qs

NOVA CRS

NOVA CRS

KG - 12th Grade

10 Qs

Aspire Tech Universe - .NET

Aspire Tech Universe - .NET

1st - 12th Grade

10 Qs

Basic 2

Basic 2

1st Grade

15 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?