APEX SESSIONS QUIZ 5

APEX SESSIONS QUIZ 5

1st Grade

15 Qs

quiz-placeholder

Similar activities

Ranking 1 Cofee Morning Informa Malang

Ranking 1 Cofee Morning Informa Malang

KG - 3rd Grade

20 Qs

Metacognitive Strategies

Metacognitive Strategies

1st Grade

10 Qs

Microsoft Excel

Microsoft Excel

KG - Professional Development

20 Qs

17 Days of SDGs Quiz - Day 10 (English)

17 Days of SDGs Quiz - Day 10 (English)

KG - Professional Development

15 Qs

Making Learning Active and Engaging

Making Learning Active and Engaging

KG - University

10 Qs

Modulo 1

Modulo 1

1st Grade

20 Qs

PRIME- HRM QUIZ DAY 2

PRIME- HRM QUIZ DAY 2

KG - 6th Grade

10 Qs

CARMA

CARMA

1st - 8th Grade

10 Qs

APEX SESSIONS QUIZ 5

APEX SESSIONS QUIZ 5

Assessment

Quiz

Professional Development

1st Grade

Practice Problem

Medium

Created by

M Salman

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?