Home Uncategorized Salesforce Certification Sample Question and Answers Part 8

Salesforce Certification Sample Question and Answers Part 8

#36 Which of the following is not a Primitive Data Type of the Salesforce?
a. boolean
b. byte
 c. currency
d. datetime
e. double

Answer:
c. currency
http://www.salesforce.com/us/developer/docs/api/Content/primitive_data_types.htm

#37 Which of the following objects is associated with errors relating to create(), update(), and delete() method calls?
a. DeployMessage object
b. AsyncResult object
c. RetrieveMessage object

Answer:
b. AsyncResult object
http://www.salesforce.com/us/developer/docs/api_meta/Content/meta_calls_intro.htm

#38 You have to show the Firstname of the logged in user through a VisualForce page. Which of the following code snippets is correct for achieving the above result?
a. <apex:page>
Hello [!$User.FirstName]!
</apex:page>
b. <apex:page>
Hello {User.FirstName}!
</apex:page>
c. <apex:page>
Hello ($User.FirstName)!
</apex:page>
d. <apex:page>
Hello {!$User.FirstName}!
</apex:page>

Answer:
d.
http://www.salesforce.com/us/developer/docs/pages/Content/pages_quick_start_display_field_values.htm

#39 What is the field type of the AccountNumber field name of the Account object?
a. string
b. int
c. picklist
d. textarea

Answer:
a. string
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_account.htm

#40 Which of the following keywords are used with reference to Classes, Objects and Interfaces in the Apex Code?
a. final
b. instanceof
c. without sharing
d. All of the above

Answer:
b. instanceof

You may also like

Leave a Comment