Exam4Training

What is an accurate constructor for a custom controller named "MyController"?

What is an accurate constructor for a custom controller named "MyController"?
A . public MyController () { account = new Account () ; }
B . public MyController (sObject obj) { account = (Account) obj; }
C . public MyController (List objects) { accounts = (List ) objects; }
D . public MyController (ApexPages.StandardController stdController) { account = (Account) stdController.getRecord(); }

Answer: A

Latest DEX-450 Dumps Valid Version with 456 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version