Which code block returns the ListView of an Account object using the - ProProfs Discuss
Topics
Products
Follow Us:

Which code block returns the ListView of an Account object using the following debug statement?
system.debug(controller.getListViewOptions() );



A. ApexPages.StandardSetController controller = new ApexPages.StandardSetController( Database.getQueryLocator( SELECT ID FROM Account LIMIT 1 ));
B. ApexPages.StandardController controller = new ApexPages.StandardController( [SELECT ID FROM Account LIMIT );
C. ApexPages.StandardController controller =new ApexPages.StandardController( Database.getQueryLocator( SELECT ID FROM Account LIMIT 1 ));
D. ApexPages.StandardController controller = new ApexPages.StandardController( [SELECT ID FROM Account LIMIT );

This question is part of Salesforce Platform Developer 1
Asked by Wyatt Williams, Last updated: Jan 14, 2020

+ Answer
Request

1 Answer

Wyatt Williams

Wyatt Williams

Answered Feb 10, 2018

A. ApexPages.StandardSetController controller = new ApexPages.StandardSetController( Database.getQueryLocator( SELECT Id FROM Account LIMIT 1 ));

####
 

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.