function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
public class lstAcc { public Static list<Account> listAccount(){ list<Account> lstAcc = [Select id,Name From Account limit 30]; for(integer i=0;i<lstAcc.Size();i++){ system.debug(lstAcc[i]); } return lstAcc; } }
public class AccountList { public Static list<Account> dispAccList(){ list<Account> accList = [Select id,Name From Account limit 30]; system.debug('Size-- '+accList .size()); for(Account acc: accList ){ system.debug(acc); } return accList ; } }
Try Below Code Please Mark It As Best Answer If I It Helps
Thank You!
All Answers
Try Below Code Please Mark It As Best Answer If I It Helps
Thank You!
You can take reference from the below code:-
Please mark it as Best Answer if it helps you.
Thanks & Regards
Suraj Tripathi
@CharuDutt @Suraj Tripathi 47