Which method signature should the developer use?

A developer needs an Apex method that can process Account or Contact records.

Which method signature should the developer use?
A . Public void doWork(Record theRecord)
B . Public void doWork(sObject theRecord)
C . Public void doWork(Account Contact)
D . Public void doWork(Account || Contatc)

Answer: B

Latest PDI Practice Questions with 191 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments