Winter Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bigdisc65

DEV-501 Premium Exam Questions

Page: 6 / 8
Question 24

An HTML input element for a value that corresponds to a field on a Salesforce object. The component respects the attributes of the associated field, including whether the field is required or unique, and the user interface widget to display to get input from the user. For example, if the specified component is a date field, a calendar input widget is displayed. When used in an , tags always display with their corresponding output label.

Note that if custom help is defined for the field in Setup, the field must be a child of an or , and the Salesforce page header must be displayed for the custom help to appear on your Visualforce page. To override the display of custom help, use the in the body of an .

Consider the following when using JavaScript events with this tag:

For lookup fields, mouse events fire on both the text box and graphic icon

For multi-select picklists, all events fire, but the DOM ID is suffixed with _unselected for the left box, _selected for the right box, and _right_arrow and _left_arrow for the graphic icons

For rich text areas, no events fire.

Options:

A.

apex:pageBlockButtons

B.

apex:define

C.

apex:outputLabel

D.

apex:inputField

Question 25

What are two key tools to debug code in Salesforce?

Options:

A.

Dates, Ids, Numbers

B.

Logs, anonymous blocks

C.

Debug logs, email logs

D.

List of List Objects

Question 26

By using the ____________ keyword in a class definition, a developer can create a custom controller or controller extension that respects OWD, role hierarchy, and sharing rules.

Options:

A.

with permissions

B.

with defaults

C.

with security

D.

with sharing

E.

with roles

F.

None of these

Question 27

What is the this keyword used to represent? (No Answer)

Options:

A.

A template from which objects are created

B.

FALSE, they must be static

C.

Methods and attributes of the current instance of a class

D.

Encapsulation principles

Page: 6 / 8
Exam Code: DEV-501
Exam Name: Certified Force.com Advanced Developer
Last Update: Nov 21, 2024
Questions: 239
DEV-501 pdf

DEV-501 PDF

$28  $80
DEV-501 Engine

DEV-501 Testing Engine

$33.25  $95
DEV-501 PDF + Engine

DEV-501 PDF + Testing Engine

$45.5  $130