Question: 1
A developer creates a custom controller and a custom Visualforce page by using the code block below:
public class MyController {
public String myString {
get {
if (myString == null) { myString = 'a';
}
return myString;
} private set; } public string getMyString (){
return 'getMyString';
} public string getStringMethod () {
if (myString == null) {
myString = 'b';
} return myString;
}
} {!StringMethod}, {!myString}, {!myString}
What can the user expect to see when accessing the custom page?
Question: 2
A company wants to create an employee rating program that allows employees to rate each other. An employees average rating must be displayed on the employee record. Employees must be able to create rating records, but are not allowed to create employee records. Which two actions should a developer take to accomplish this task?
Question: 3
A developer needs to find information about @future methods that were invoked. From which system monitoring feature can the developer see this information?
Question: 4
An after trigger on the account object performs a DML update operation on all of the child opportunities of an account. There are no active triggers on the opportunity object, yet a 'maximum trigger depth exceeded' error occurs in certain situation. Which two reasons possibly explain the account trigger firing recursively? choose 2 answers
Question: 5
For which example task should a developer use a trigger rather than a workflow rule?