subject

Given the code below, which three statements can be used to create the controller variable?

Public class accountlistcontroller{
public listgetaccounts(){ return controller. getrecords(); }
}

CHOOSE 3 ANSWER:

A. Apexpages. standardcontroller controller= new
apexpages. standardcontroller([select id from account]);

B. Apexpages. standardsetcontroller controller=new
apexpages. standardsetcontroller(database. getquerylocator('select id from
account'));

C. Apexpages. standardcontroller controller= new
apexpages. standardcontroller(database. getquerylocator('select id from
account'));

D. Apexpages. standardsetcontroller controller = new
apexpages. standardsetcontroller (database. getquerylocator([select id
from account]));

E. Apexpages. standardsetcontroller controller = new
apexpages. standardsetcontroller (database. query('select id from
account'));

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 18:30
This program should be a short piece of code that prints all of the positive integers from 1 to 100 as described more fully below. the program may contain multiple methods, and if using an oo language, should be contained within a single class or object. the program should be designed so that it begins execution when invoked through whichever mechanism is most common for the implementation language. Γ’β€“ΕŸ print out all positive integers from 1 to 100, inclusive and in order. Γ’β€“ΕŸ print messages to standard output, matching the sample output below. Γ’β€“ΕŸ in the output, state whether the each integer is 'odd' or 'even' in the output. Γ’β€“ΕŸ if the number is divisible by three, instead of stating that the number is odd or even, state that the number is 'divisible by three'. Γ’β€“ΕŸ if the number is divisible by both two and three, instead of saying that the number is odd, even or divisible by three; state that the number is 'divisible by two and three'. Γ’β€“ΕŸ design the logic of the loop to be as efficient as possible, using the minimal number of operations to perform the required logic. sample output the number '1' is odd. the number '2' is even. the number '3' is divisible by three. the number '6' is divisible by two and three.
Answers: 1
question
Computers and Technology, 23.06.2019 18:40
Johnson enterprises uses a computer to handle its sales invoices. lately, business has been so good that it takes an extra 3 hours per night, plus every third saturday, to keep up with the volume of sales invoices. management is considering updating its computer with a faster model that would eliminate all of the overtime processing.
Answers: 2
question
Computers and Technology, 23.06.2019 21:30
Which of the following includes the three primary network access technologies? dsl, cable modem, broadband lan, wan, man voip, uc, iptv tcp/ip, ftp, dhcp
Answers: 2
question
Computers and Technology, 23.06.2019 23:30
What can you prevent issues related to downloading content form the internet
Answers: 1
You know the right answer?
Given the code below, which three statements can be used to create the controller variable?
Questions
question
Mathematics, 07.04.2020 23:49
question
Mathematics, 07.04.2020 23:49
question
Mathematics, 07.04.2020 23:49
question
Mathematics, 07.04.2020 23:49
Questions on the website: 13722363