Topic 1 : Exam Pool A
Which three options allow a developer to use custom styling in a Visualforce page? (Choose three.)
A.
<apex:stylesheet> tag
B.
Inline CSS
C.
<apex:style>tag
D.
<apex:stylesheets>tag
E.
A static resource
<apex:stylesheet> tag
Inline CSS
A static resource
A developer created a Visualforce page and a custom controller with methods to handle different buttons and events that can occur on the page.What should the developer do to deploy to production?
A.
Create a test class that provides coverage of the Visualforce page.
B.
Create a test page that provides coverage of the Visualforce page.
C.
Create a test page that provides coverage of the custom controller.
Create a test class that provides coverage of the custom controller.
D.
Create a test class that provides coverage of the custom controller.
Create a test class that provides coverage of the custom controller.
A developer needs to create a Visualforce page that displays Case data. The page will be used by both support
reps and support managers. The Support Rep profile does not allow visibility of the Customer_Satisfaction__c
field, but the Support Manager profile does.
How can the developer create the page to enforce Field Level Security and keep future maintenance to a
minimum?
A.
Create one Visualforce Page for use by both profiles.
B.
Use a new Support Manager permission set.
C.
Create a separate Visualforce Page for each profile.
D.
Use a custom controller that has the with sharing keywords.
Use a custom controller that has the with sharing keywords.
A developer has the controller class below.
Which code block will run successfully in an execute anonymous window?
A.
myFooController m = new myFooController();System.assert(m.prop !=null);
B.
myFooController m = new myFooController();System.assert(m.prop ==0);
C.
myFooController m = new myFooController();System.assert(m.prop ==null);
D.
myFooController m = new myFooController();System.assert(m.prop ==1);
myFooController m = new myFooController();System.assert(m.prop ==null);
Which two number expressions evaluate correctly? (Choose two.)
A.
Double d = 3.14159;
B.
Integer I = 3.14159;
C.
Decimal d = 3.14159;
D.
Long l = 3.14159;
Double d = 3.14159;
Decimal d = 3.14159;
Page 4 out of 78 Pages |
Previous |